I dont know what we call this.
Hi All,
need your help here.
i want create a script that will read
1. user.txt ( probably will have 20 - 50 user list)
2. alert.txt (only have 1 line)
lynx -dump "http://localhost/cgi-bin/alert?user=$user&text=$alert"
So far i only managed to use looping
for user in `cat user.txt `; do lynx -dump "http://localhost/cgi-bin/alert?user=$user&text=i have to set this manually";done
Is there any workaround ?
Thanks.
Last edited by natsume; 07-12-2011 at 02:08 PM.
|