looks like your not using backticks. ` <- backtick ' <- tick ;) On Tue, 2002-02-05 at 12:16, Robert Goshko wrote: > I have a line from one of my shell scripts to load the current date and > time into a variable: > > $curdttm = 'echo $blank |date +%Y%m%d-%H%M' > > I have used this on both AIX and HP-UX and it has worked great. > > Doesn't do diddly on my Linux box but set the $curdttm variable to a > value of $'echo $blank |date +%Y%m%d-%H%M'. > > I know someone out there will have another way to do this. > > Thanks. > > -- > ...Rob > > ===================================================================== > Robert Goshko Axis Computer Consulting Services, Inc > President Sherwood Park, Alberta, Canada > http://www.axis-dev.com/ Supporting the Revolution In Your World > ===================================================================== > > 1:15pm up 3:46, 2 users, load average: 1.50, 1.57, 1.66 -- Bryan Whitehead SysAdmin - JPL - Interferometry Systems and Technology Phone: 818 354 2903 [EMAIL PROTECTED]
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
