From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653647621879.tru64-unix-managers.marc@archive.invalid> From: Kimberly_Agle () fccourts ! org Date: Tue, 15 May 2001 18:10:11 +0000 To: tru64-unix-managers Subject: SUMMARY: dumb question about putting sysdate into a variable X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653647621879 Wow, that was fast!!! Many many thanks to the dozens who answered within minutes! I wanted the syntax for dumping the system date into a variable. The second suggestion I tried, from Michael Bucholz, was today=`date +%Y%m%d%H%M%S` It worked fine. I shouldn't have put in those double quotes. Thanks again. ----- Forwarded by Kimberly H Agle/Clerk of Courts/Common Pleas Court on 05/15/01 02:08 PM ----- Kimberly H Agle To: tru64-unix-managers@ornl.gov cc: 05/15/01 Subject: dumb question 01:45 PM Hello managers, I'm trying to do something relatively trivial and it's driving me nuts. All I want to do is dump the system date into a variable so I can use it in a filename. I tried today < `date +"%Y%m%d%H%M%S"`, but then there's nothing in the today variable. Can somebody tell me what little thing I'm overlooking? Thanks....