[ale] string escaping [continued]

Chuck Mattern cmattern at mediaone.net
Thu Jun 21 07:59:55 EDT 2001


It's getting overcomplicated.  I created a two line script in my home dir like 
this:

</home/cmattern> cat foo
#!/bin/bash
echo text \"something here\"

I set it executable:

</home/cmattern> chmod 755 foo

When I run it  I get what I think you are asking for:

</home/cmattern> ./foo
text "something here"
</home/cmattern> 


I hope this helps.

> Thanks for all the tips!!! 
> 
> 
> 
> Here is the script:
> 
> 
> #!/bin/bash
> t= "'text \"something here\"'"
> echo $t
> 
> 
> 
> But it still doesn't seem to work... 
> 
> 
> 
> 
> 
> Christopher Bergeron
> Systems Administrator
> Full Line Distributors
> (770) 416-4237
> mis at fullline.com
> 
> --
> To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body
.

-- 
-----------------------------------------------------------------------
|Chuck Mattern           | "True strength lies in gentleness"         |
|cmattern at mediaone.net   | -Irish Proverb-                            |
-----------------------------------------------------------------------


--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list