Subject: Re: more csh and date
To: john <jkaufman@home.com>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-help
Date: 01/22/2001 22:30:09
On Tue, 23 Jan 2001, john wrote:

> This is exactly what I expect. I have tried 
> set month = 'date +%m' 
> in my script. It did not work. I also tried

Look at Peter's email again. Nevermind, I'll quote him: "enclose a
command in backticks (`)".

In other words, don't use single quotes -- use the key that may be on the
left side of your keyboard that also has a tilde on it.

% set month = `date +%m`
% echo $month
01

Good luck in your csh ... ksh adventures.

   Jeremy C. Reed
   http://www.reedmedia.net/