From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tim Walberg Subject: Re: help with script Date: Mon, 9 Jun 2003 08:03:20 -0500 Sender: linux-admin-owner@vger.kernel.org Message-ID: <20030609080320.A30445@mindspring.com> References: <1055141806.1522.4.camel@alice> Reply-To: Tim Walberg Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AqsLC8rIMeq19msA" Return-path: Content-Disposition: inline In-Reply-To: <1055141806.1522.4.camel@alice> from pacho baratta on 06/09/2003 01:56 List-Id: To: pacho baratta Cc: linux-admin@vger.kernel.org --AqsLC8rIMeq19msA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable cat txtfile | xargs -n1 ./script On 06/09/2003 08:56 +0200, pacho baratta wrote: >>=09 >> i have a txt file with a list of username one by line, say: >> user1 >> user2 >> user3 >> ..... >>=09 >>=09 >> 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 >>=09 >> my goal is to get a way to process txt file and send all users, one by >> one, to my script. >>=09 >> cat txtfile | ./script >>=09 >> is processing only the 1st user, not the others. >>=09 >> any idea to automatize this process? >> tnx, pacho >>=09 >> - >> To unsubscribe from this list: send the line "unsubscribe linux-admin" in >> the body of a message to majordomo@vger.kernel.org >> More majordomo info at http://vger.kernel.org/majordomo-info.html End of included message --=20 +--------------------------+------------------------------+ | Tim Walberg | twalberg@mindspring.com | | 830 Carriage Dr. | www.mindspring.com/~twalberg | | Algonquin, IL 60102 | | +--------------------------+------------------------------+ --AqsLC8rIMeq19msA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 iQA/AwUBPuSFk8PlnI9tqyVmEQLBjQCggIPk6SWfiDNHvsE+jAcq6WJo/nAAoLpJ p7YH/9p1umA2UCU0XESEq/Mg =OXvH -----END PGP SIGNATURE----- --AqsLC8rIMeq19msA--