Sundeep Agarwal

Results 19 comments of Sundeep Agarwal

Seems like using `-s` option makes the replacement string to be literal string as well. You can either use a literal newline or use shell constructs like `$''` quoting in...

Added a note in version 2.0 with a link to this issue.

Thanks, fixed as part of the new release.

Thanks for the detailed response. I finally installed Rust and was able to build a local copy to test the new changes. If I may split my issue into two...

Personally, I don't have a use case, so I don't have a preference and this could just be added to manual as a note. Couple of points to consider: *...

Your solution won't work for input like `par:car tar-far;Cart` since you are making use of fields. The question is intended as a search and replace problem. I should probably add...

Building upon your idea, I think `awk -F'ar' 'NF>3{print gensub(FS, "X", NF-3)}'` will work. Will update if I can think of case where this'd fail.