[HPADM] for loop
From: J. Corcoran (using_unix_at_hotmail.com)
Date: 03/29/05
- Previous message: Srinath Rajagopalan: "[HPADM] rstchown on HP -- _POSIX_CHOWN_RESTRICTED"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: hpux-admin@dutchworks.nl Date: Tue, 29 Mar 2005 14:45:37 -0500
hello
trying to use
for I in $( cat /tmp/file )
do
echo " $I"
done
Inside the file are firstname lastname state as space delimited string
i.e joe smith florida
when running this scripts it splits the string
joe
smith
florida
I need the street to come out as joe smith florida
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar – get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
--
---> Please post QUESTIONS and SUMMARIES only!! <---
To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
Name: hpux-admin@dutchworks.nl Owner: owner-hpux-admin@dutchworks.nl
Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse only)
http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse & search)
- Previous message: Srinath Rajagopalan: "[HPADM] rstchown on HP -- _POSIX_CHOWN_RESTRICTED"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]