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 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 support for text parsing and processing (e.g: Perl, > Python, Ruby, Lua, etc.), but I intend to do so soon. > > But I want to ask you - is there anything you think I should add there? > > Please comment on the list. > > Regards, > > Shlomi Fish > > -- > ----------------------------------------------------------------- > Shlomi Fish http://www.shlomifish.org/ > "Humanity" - Parody of Modern Life - http://shlom.in/humanity > > COBOL is the old Java. > > Please reply to list if it's a mailing list post - http://shlom.in/reply . > > _______________________________________________ > Linux-il mailing list > Linux-il@cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il _______________________________________________ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il