Menu

#12 FART something with nothing

open
nobody
None
5
2017-02-09
2017-02-09
blaze_125
No

Great tool but I haven't found a way yet to replace something with nothing. something like this does not work:

fart file.ext "\r\n" ""

It performs a search instead of a replace.
<fart file.ext="" "\\r\\n"="" "\\0"=""> is not a viable solution for me as this replaces with NULL characters.

Something like this could work
fart file.ext "\r\n" "~|Blank|~"

Where ~|Blank|~ , or something else, could be the empty string trigger.

Related

Feature Requests: #12

Discussion

  • Lionello Lunesu

    Lionello Lunesu - 2017-02-16

    Hi!

    Thanks! Have you tried using --remove ?

    On Fri, Feb 10, 2017 at 2:34 AM, blaze_125 blaze-125@users.sf.net wrote:


    Status: open
    Group: Next Release (example)
    Created: Thu Feb 09, 2017 06:34 PM UTC by blaze_125
    Last Updated: Thu Feb 09, 2017 06:34 PM UTC
    Owner: nobody

    Great tool but I haven't found a way yet to replace something with
    nothing. something like this does not work:

    fart file.ext "\r\n" ""

    It performs a search instead of a replace.
    <fart file.ext="" "\\r\\n"="" "\\0"=""> is not a viable solution for me as
    this replaces with NULL characters.

    Something like this could work
    fart file.ext "\r\n" "~|Blank|~"

    Where ~|Blank|~ , or something else, could be the empty string trigger.

    Sent from sourceforge.net because you indicated interest in
    https://sourceforge.net/p/fart-it/feature-requests/12/

    To unsubscribe from further messages, please visit
    https://sourceforge.net/auth/subscriptions/

    --
    L.

     

    Related

    Feature Requests: #12

    • blaze_125

      blaze_125 - 2017-02-16

      Hi, I did just now and it works! Thank you for your time.

      C:\temp\fart\fart.exe C:\temp\fart\testfile.xls --remove --c-style "\r\n"

       

Log in to post a comment.