code_junkie

Escaping double quotes with tcsh alias

Nov 13th, 2011
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. replace -x "must " A2input.txt
  2. replace -x " a" -f -s ## A2input.txt
  3. replace -x to -s ## -a A2input.txt
  4. replace -x faith -f "unequivocal" A2input.txt
  5.  
  6. #!/bin/tcsh
  7. replace -x "must" ...
  8.  
  9. #!/bin/tcsh
  10. replace -x "must" ...
  11.  
  12. alias t='echo "hello world"' # using single quotes to enclose entire string
  13. alias t=echo "hello world" # escape " and <space>
  14. alias t="echo "hello world"" # double-quote + escape inner double quotes
Add Comment
Please, Sign In to add comment