linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: pacho baratta <pachox@evolinux.it>
To: linux-admin@vger.kernel.org
Subject: help with script
Date: 09 Jun 2003 08:56:46 +0200	[thread overview]
Message-ID: <1055141806.1522.4.camel@alice> (raw)


i have a txt file with a list of username one by line, say:
user1
user2
user3
.....


i'd like to avoid to insert all these users by hand (about 1000 users)
so i build a script to add users, make dirs and something useful to me

my goal is to get a way to process txt file and send all users, one by
one, to my script.

cat txtfile | ./script

is processing only the 1st user, not the others.

any idea to automatize this process?
tnx, pacho


             reply	other threads:[~2003-06-09  6:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-09  6:56 pacho baratta [this message]
2001-07-19 13:31 ` help with script Win Toe ( Penguin Millennium )
2003-06-09  9:47 ` Carl
2003-06-09 12:58 ` Glynn Clements
2003-06-09 13:03 ` Tim Walberg
2003-06-10 19:58 ` Stephen Samuel
2003-06-10 23:37 ` pacho baratta

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1055141806.1522.4.camel@alice \
    --to=pachox@evolinux.it \
    --cc=linux-admin@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).