Summary: BASH + concatenate + scripint
Jandre Olivier <[email protected]> Mon, 05 Jul 2004 08:04:49 +0200
| Newsgroups | gmane.linux.admin.managers |
|---|---|
| Message-ID | <[email protected]> |
Howzit guys,
thanks for all the replies:
nice to see all the ways u would do it, some really nice
there was alot of other ones, like perl, which would be the best way of
doing stuff like this, or some hardcore sed regex's
easiest way i found was gawk:
a=`awk '{printf "%s@%s\n",$2,$1}' users.txt`
for i in $a;
do /home/vpopmail/bin/vadduser -n -q 10MB $i
done
Thanks for all the replies,
Jandre
--
Regards
Jandre
"Some people are alive only because
it is illegal to kill them."
_____________________________________________________
_______________________________________________
LinuxManagers mailing list - http://www.linuxmanagers.org
submissions: LinuxManagers-35TzE1X9F6582KRnZfj+bdi2O/[email protected]
subscribe/unsubscribe: http://www.linuxmanagers.org/mailman/listinfo/linuxmanagers