[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] command as argument for grep
On Wed, Jan 19, 2005 at 10:01:53AM -0000, Chris Johnson wrote:
> I have the following line
>
> cat index.html |grep 'date %d-%b-%Y
You're nearly right.
cat index.html | grep `date +%d-%b-%Y`
--
Ben Spencer
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.