Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Displaying "* Testing" 1

Status
Not open for further replies.

Ambatim

Programmer
Feb 28, 2002
110
IN
Hi Gurus,

I have a shell script.

A="* Testing"
echo $A

If I execute this it lists all the files in the current directory, because of *. How to avoid this ?
I just want to display * Testing.

It works fine if I use echo "* Testing". But I cannot do that because the information I have to display will have to be in a shell variable for other uses in my script.

Any ideas ????


Thanks in advance
Mallik
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top