From owner-freebsd-questions Fri Nov 22 06:51:13 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA21818 for questions-outgoing; Fri, 22 Nov 1996 06:51:13 -0800 (PST) Received: from seti.tec.sd.us ([207.108.16.132]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id GAA21811 for ; Fri, 22 Nov 1996 06:51:04 -0800 (PST) Received: from m113a20.appn.sna.ibm.com (MCN126-9.seti.tec.sd.us [207.108.21.50]) by seti.tec.sd.us (8.6.11/8.6.9) with SMTP id IAA00393 for ; Fri, 22 Nov 1996 08:56:35 -0600 Message-ID: <3295D9F8.1861@seti.tec.sd.us> Date: Fri, 22 Nov 1996 08:51:04 -0800 From: Ryan Klinkhammer Organization: Southeast Technical Institute X-Mailer: Mozilla 2.0 (Win16; I) MIME-Version: 1.0 To: questions@freebsd.org Subject: help X-URL: http://www.freebsd.com/support.html Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi This is Ryan from Southeast Technical Institute in Sioux Falls South Dakota. I am currently working on writing a script file to add email users on our system. We currently have an adduser program that I was going to modify to perform this task. However I'm having problems. What I need to do is take a file with the user information and use string manipulation to get infor I need. That is were I run into a problem because my knowledge writing scripts is limited. Currently I've been trying to use cut and dd but I can's figure out how to set what I cut to a variable. Can anyone please help me? Ryan