From mboxrd@z Thu Jan 1 00:00:00 1970 From: pacho baratta Subject: Re: help with script Date: 11 Jun 2003 01:37:08 +0200 Sender: linux-admin-owner@vger.kernel.org Message-ID: <1055288227.1161.18.camel@alice> References: <1055141806.1522.4.camel@alice> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <1055141806.1522.4.camel@alice> List-Id: Content-Type: text/plain; charset="iso-8859-1" To: linux-admin@vger.kernel.org welle i did use something suggested by C=C3=A9sar Soler: while read uid do ./myscript $uid done tnx anybody for hints, pacho Il lun, 2003-06-09 alle 08:56, pacho baratta ha scritto: > i have a txt file with a list of username one by line, say: > user1 > user2 > user3 > ..... >=20 >=20 > 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 m= e >=20 > my goal is to get a way to process txt file and send all users, one b= y > one, to my script. >=20 > cat txtfile | ./script >=20 > is processing only the 1st user, not the others. >=20 > any idea to automatize this process? > tnx, pacho >=20 > - > 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 >=20 - 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