[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Shell script
- Subject: Re: [cobalt-users] Shell script
- From: Bruce Timberlake <bruce@xxxxxxxxxx>
- Date: Sat Jan 25 11:51:00 2003
- Organization: BRTNet.org
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> Now, I want to "echo" the FIRST line, so the FIRST FILE..
> $VARIABLE[0] or whatever does not work with shell...
> Does anyone have a quick hint maybe? :)
#/bin/bash
for VARIABLE in *
do
echo $VARIABLE
done
- --
Bruce Timberlake
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+MudZvLA2hUZ9kgwRAkx5AJ0RDD7/CCMLmLMZ8Fdm3nCaZBii3wCfSMAX
Be6/oSlOWOfU94Hqr5UDdxQ=
=vWtJ
-----END PGP SIGNATURE-----