Re: [Networker] Formating of nsradmin output
2004-08-05 14:45:25
> If you only have one, this is trivial..
>
> perl -e 's/\n//; END { print "\n"; }' /your/file/here
> If you can't stand the extra whitespace on the line...
>
> perl -e 's/\n/ /; s/^\s*//; END { print "\n"; }' /your/file/here
Typo found during testing, but forgot to put the correction back in the
actual post... Duh...
perl -pe 's/\n//; END { print "\n"; }' /your/file/here
or
perl -pe 's/\n/ /; s/^\s*//; END { print "\n"; }' /your/file/here
--
Darren Dunham ddunham AT taos DOT com
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >
--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
|
|
|