Search Results

Search: Posts Made By: thearpit
6,749
Posted By ctsgnb
# cat tst <Schema> ...
# cat tst
<Schema>
<schema_name>admin</schema_name>
<Version>1.1</Version>
...
1,719
Posted By zaxxon
abc="`echo $temp|sed 's/ /\\\ /g'`" echo $abc ...
abc="`echo $temp|sed 's/ /\\\ /g'`"
echo $abc
mynameis\ arpit

# or

abc="$(echo $temp|sed 's/ /\\ /g')"
echo $abc
mynameis\ arpit


Seems the backticks need another backslash to preserve...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 08:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy