in reply to Re: perl on the commandline
in thread perl on the commandline

the file doesnt get modified. I want perl to strip the white space from the file but it doesn't do it. beware im am in windows terminal

Replies are listed 'Best First'.
Re3: perl on the commandline
by Hofmator (Curate) on Aug 22, 2001 at 15:37 UTC

    You are using single quotes, under windows you have to type the following: perl -pi.bak -e "s/\s+//g" names

    -- Hofmator