ksh scripting help (again)

From: SIMEONE, Allan J. <Allan.SIMEONE_at_rp-rorer.com>
Date: Fri, 24 Oct 1997 14:59:00 -0400

Hi,

I need some help in korn shell scripting again. I am trying to write a
ksh script that would take
a file which looks like the following...

/home/user1
/home/user2
/home/user3
.
.
.
/home/user400

and make the output look like so...

user1,user2,user3,...user400

and then append it to the users group in the /etc/group file.
I know just a cut and paste after getting the right output would do, but
for learning
sake, I'd like to see the code that appends the output to the group file
in the correct place.

thanks,
Allan
Received on Fri Oct 24 1997 - 21:37:42 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT