On Wed, 2002-08-28 at 00:56, Dave Page wrote: > Or just: > > perl -pe 'print "/mnt/home/aland/"' oldfile.py > newfile.py > > I was trying to keep it sed-like for ease of understanding :p I was trying to leave some clue as to what was going on ;) Surprisingly, -p is in there to make it look more sed-like than Perl, even though $_/ [at] _ isn't known for being a beginners' delight (those being the people most likely to want to force it to look like another language).. Cheers, Alex.
Attachment:
signature.asc
Description: This is a digitally signed message part