On Fri, 4 Oct 2002, Van Den Abeele Kristof wrote:

> A want to create a file "10_Oct_2002.out"  ( based on todays date )

You need to use command substitution, not redirection. And your date 
string needs to be quoted to prevent shell expansion.

    touch $( date +"%m_%b_%Y.out" )

-- 
"The only thing that helps me maintain my slender grip on reality is the
friendship I share with my collection of singing potatoes."

                        - Holly, JMC Vessel *Red Dwarf*



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to