-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
At 12:48 PM 10/3/00 +0800, you wrote:
>I am trying to create a script that will add a date extension to a
>file.
> For example, test become test.10032000. I have the following in a
>file called ds.
>
>td='date "+%m%d%Y"'
>mv $1 $1.$td
>
>and its not giving me the correct results...
>
try this:
td=.`date +%m%d%Y`
mv "$1" "$1$td"
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>
iQA/AwUBOdpIqp7kcaYAkUqfEQIQ3QCgp2+UWT52rP1YqHvITLgKMxxrBaMAn06q
/o125BU7NbTuUpZMQumGICV3
=X9HV
-----END PGP SIGNATURE-----
= Paolo Carballo
= http://www.mydestiny.net/~jplc/
= PGP 6.5.8i DSS KeyID: 00914A9F
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]