tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "SIMEONE, Allan J." <Allan.SIMEONE () rp-rorer ! com>
To: tru64-unix-managers
Subject: ksh scripting help (again)
Date: Fri, 24 Oct 1997 18:59:00 +0000	[thread overview]
Message-ID: <96078618110647.tru64-unix-managers.marc@archive.invalid> (raw)

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

                 reply	other threads:[~1997-10-24 18:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox