View Single Post
Old 01-01-2003, 08:24 PM  
Cohen
Confirmed User
 
Join Date: Nov 2002
Posts: 1,099
Quote:
Originally posted by extreme
Code:
perl -e {'@a=`ls *.html`; foreach $o (@a) { chop($o); $n=$o; $n=~s/ /_/g; $s = "mv \"$o\" \"$n\"\n"; system($s); };'};
... yay for perl.
I dont know SHIT about linux, but would just like to know, can you execute perl direct from the prompt?
__________________
dont look at this signature, Wildcard told me making money on GFY is baaaaaaaaaddd - so my sponsor links have been removed

Cohen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote