Re: trouble setting shell variable

2002-05-26 Thread G Anna
> Date: Sun, 26 May 2002 09:07:10 -0500 > From: Jim Reimer - WA5RRH <[EMAIL PROTECTED]> > Subj: trouble setting shell variable > > I'm trying to rename files based on what time it is *now* > > echo `date` | cut -b 25-28,12-13,15-16,18-19 Why are you ech

Re: trouble setting shell variable

2002-05-26 Thread Jim Reimer - WA5RRH
forgot about formatting that makes it a LOT easier. thanks. On Sunday 26 May 2002 10:58 am, Suriya Narayanan M S wrote: > On Sunday 26 May 2002 7:37 pm, Jim Reimer - WA5RRH wrote: > > echo `date` | cut -b 25-28,12-13,15-16,18-19 > > > > gives me what I want to use for the file name, b

Re: trouble setting shell variable

2002-05-26 Thread Suriya Narayanan M S
On Sunday 26 May 2002 7:37 pm, Jim Reimer - WA5RRH wrote: > echo `date` | cut -b 25-28,12-13,15-16,18-19 > > gives me what I want to use for the file name, but I > can't figure out how to get it into a variable for use > later in the script when I rename the file. I've tried > > var

trouble setting shell variable

2002-05-26 Thread Jim Reimer - WA5RRH
I'm trying to rename files based on what time it is *now* echo `date` | cut -b 25-28,12-13,15-16,18-19 gives me what I want to use for the file name, but I can't figure out how to get it into a variable for use later in the script when I rename the file. I've tried variablename= followed