[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Re: Shell script
- Subject: [cobalt-users] Re: Shell script
- From: "Xyphilon _" <xyphilon@xxxxxxxxxxx>
- Date: Sat Jan 25 14:48:00 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
---
#!/bin/bash
for VARIABLE in "*"
do
echo VARIABLE
done
---
But doesn't that give me ALL the stuff in VARIABLE?
I *ONLY* want the FIRST file to show up, I don't care about 2nd, 3rd, etc
etc...
Just confused!
Thanks for your help!!
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963