[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Re: Shell script



---
#!/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