sed/awk/perl: How to replace all spaces each with an underscore that occur before a specific string ?

Jan Kaliszewski zuo at chopin.edu.pl
Sat Aug 22 16:51:44 EDT 2009


22-08-2009 o 20:11:32 bolega <gnuist006 at gmail.com> wrote:

> sed/awk/perl:
>
> How to replace all spaces each with an underscore that occur before a
> specific string ?

$ rm -rf /home/bolega ; python -c 'for i in xrange(1000): print "I will  
never crosspost senselessly."'

;~]

-- 
Jan Kaliszewski (zuo) <zuo at chopin.edu.pl>



More information about the Python-list mailing list