[K12OSN] How about a scripting question :-)
Jim Kronebusch
jim at winonacotter.org
Thu Nov 9 20:48:48 UTC 2006
On Thu, 9 Nov 2006 14:36:26 -0600, Mike Oliveri wrote
> Got it. Don't escape the slash in the newline after all. Duh. Sorry!
>
> sed 's/,/\n/g' filename >> /root/whatever
Cool. Thanks, that gets me much closer to the final result. Now I just need
to bundle it all into one script.
Here is what I have so far for sed:
sed -e 's/,/\n/g' -e 's/staff:x:501://g' /etc/group >> /etc/mailusers
Now I just need to add the postmap stuff.
--
This message has been scanned for viruses and
dangerous content by the Cotter Technology
Department, and is believed to be clean.
More information about the K12OSN
mailing list