-----BEGIN PGP SIGNED MESSAGE----- I wrote a script that puts portions of various logfiles into a text file to mail to me using cron. The script looks like echo '' > filename.txt echo '*****System Log*****' >> filename.txt tail -n 20 /var/log/messages >> filename.txt The above commands are repeated for other logs, in the same script, except that the first line uses ">>" to append to the existing file. I created the target file using 'touch' and gave world read/write to avoid permission problems. But when the script is run, the output goes to "filename.txt?" instead of "filename.txt". What gives? -- Anthony E. Greene <[EMAIL PROTECTED]> PGP Keys: <http://www.pobox.com/~agreene/pgp/public-keys.htm> -----BEGIN PGP SIGNATURE----- Version: PGP for Personal Privacy 5.5.3i Comment: What is PGP? <http://www.pobox.com/~agreene/pgp/> iQCcAwUBNS+1CkRUP9V4zUMpAQHTrQQ2PzMZNMKYzlrgvPeY8OxVqoRr5GIjQrJJ 3/bnzsnVhZOAuu1v0wBmr5XOiJPaLeToSXp8zvgu9nMI/OR5ewonxW0KqpE0dPYX OS7lcCPodRFeUYFau2JNpb1fscwXkTYcHIMNcW1WyVUwjulek3FQgw4UAa6i6sPV FveEvU75/67FWoHZxodi =Qx9A -----END PGP SIGNATURE----- -- PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES! http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject.