From mboxrd@z Thu Jan 1 00:00:00 1970 From: pacho baratta Subject: help with script Date: 09 Jun 2003 08:56:46 +0200 Sender: linux-admin-owner@vger.kernel.org Message-ID: <1055141806.1522.4.camel@alice> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-admin@vger.kernel.org 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