helpmeplease!@2004-11-07 20:24:43
This is Unix script assgnment in class. I have a students list named:classdb.txt

ID:NAME:Course1:course2
001:Harry:Comp123:Comp234

I have to write a script to add new student in the list.
I think should use the "sed" command, but is not working.
please help.
this is what I have try:
echo enter the students ID
read num
echo enter the students name
read name
echo enter the course name
read class1
echo enter the course name
read class2
$sed -f <$num:$name:$class1:$class2> classdb
kv23882004-11-07 21:43:42
回复:need Unix script help
@~!@#$%^&*2004-11-08 02:05:01
thanks a lot!
thanks!!#2004-11-08 02:08:03
顺便问一句,怎么删除一个用户呢?如果只是给了用户名?
kv23882004-11-08 05:19:22
回复:顺便问一句,怎么删除一个用户呢?如果只是给了用户名?
kv23882004-11-08 05:21:12
correction: $tmpfile->tmpfile
!@#$%2004-11-08 23:47:48
gao shou thanks a lot