Is there a way to escape => '{print $NF}'
Here is the full command... ls -l /usr/openv/netbackup/db/images | grep -i %INPUT_CLIENT% | awk '{print $NF}'{Enter}
When I run the command, here is the output... It ignores => {print $NF}
ls -l /usr/openv/netbackup/db/images | grep -i george | awk ''
Thx...JGM
Escaping Characters
Characters such as {}^!+# have special meaning, enclose them in braces. For example {^}{!}{{}. In your case:
Code: Select all
ls -l /usr/openv/netbackup/db/images | grep -i %INPUT_CLIENT% | awk '`{{}print $NF`{}}'{Enter}
In the help guide I was reading on Text Expander and could not find a complete reference to all of the special characters that need to be escaped, is there a KB article I can reference?
The reason I am asking is because I wrote a script and apparently pipe -> | <- needs to be escaped.
Instead of testing every special character to see if it needs to be escaped it would be helpful to reference a document.
Thank you,
JGM
The reason I am asking is because I wrote a script and apparently pipe -> | <- needs to be escaped.
Instead of testing every special character to see if it needs to be escaped it would be helpful to reference a document.
Thank you,
JGM