Vim can be used non-interactively:
% vim -e -s -n -N -i NONE -u NONE -c 'g/bar/normal! g??' -c wq ./foo.txt
I'm not sure you listed ed:
% printf 'g/bar/d\nw\nq\n' | ed foo.txt
Shlomi Fish wrote on Tue, Sep 25, 2012 at 00:32:09 +0200:
> Hi all,
>
> I've set up a new page about text processing t
Hi Const,
On Tue, 25 Sep 2012 11:18:24 +0200
Constantine Shulyupin wrote:
> csplit - split a file into sections determined by context lines
> http://www.makelinux.net/man/1/C/csplit
>
> http://tldp.org/LDP/GNU-Linux-Tools-Summary/html/text-related-tools.html
>
Thanks for the link - I added it
On Tue, 25 Sep 2012 09:07:10 +0200
Orna Agmon Ben-Yehuda wrote:
> uniq
> sort
>
Added, thanks.
Regards,
Shlomi Fish
--
-
Shlomi Fish http://www.shlomifish.org/
The Case for File Swapping - http://shlom.in/file-swa
csplit - split a file into sections determined by context lines
http://www.makelinux.net/man/1/C/csplit
http://tldp.org/LDP/GNU-Linux-Tools-Summary/html/text-related-tools.html
On Tue, Sep 25, 2012 at 12:32 AM, Shlomi Fish wrote:
> Hi all,
>
> I've set up a new page about text processing tools:
column - columnate lists
join - join lines of two files on a common field
colrm - remove columns from a file
On Tue, Sep 25, 2012 at 12:32 AM, Shlomi Fish wrote:
> Hi all,
>
> I've set up a new page about text processing tools:
>
> http://www.shlomifish.org/open-source/resources/text-processing-t
uniq
sort
On Tue, Sep 25, 2012 at 12:32 AM, Shlomi Fish wrote:
> Hi all,
>
> I've set up a new page about text processing tools:
>
> http://www.shlomifish.org/open-source/resources/text-processing-tools/
>
> Currently I need to add some links to core UNIX text-processing commands
> (e.g: grep, se
Hi all,
I've set up a new page about text processing tools:
http://www.shlomifish.org/open-source/resources/text-processing-tools/
Currently I need to add some links to core UNIX text-processing commands
(e.g: grep, sed, paste, cut, cat, etc.), as well as some general purpose
languages with good