The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 06-24-2005
gopskrish gopskrish is offline
Registered User
  
 

Join Date: Jun 2005
Posts: 26
I want the output within quotes

Hi

I want to store the output of this command within double quotes ?
How can i do that ?

nows=`date +%Y-%m-%e`

The output is 2005-06-24

I want the output as "2005-06-24".
I tried with few options but only in vain.
do let me know how to go about it ?

Thanks in advance.

cheers,
gops