kj wrote:


I'm a recovering Perl addict, and I'm jonesin' badly for command-line
one-liners, like

  % perl -lne '@f=split "\t";print join "\t",@f[3,1] if $f[2]=~/frobozz/i' 
in.txt

How can I get my fix with Python?

python -c "print 'Hello world!'"

Although you need to remember that Python makes much more use of
whitespace, which limits the usefulness of the command line.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to