Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash escape special characters in variable

# Use Shell Parameter Expansion:
foo_esc="${foo@Q}"
Source by www.gnu.org #
 
PREVIOUS NEXT
Tagged: #bash #escape #special #characters #variable
ADD COMMENT
Topic
Name
7+8 =