Created
November 6, 2012 02:41
-
-
Save gwenshap/4022222 to your computer and use it in GitHub Desktop.
Example of AWK and Shell quote wierdness
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #create a list of comma separated, single quoted, file names: | |
| ls -l /u01/ORACLE/work/cat_caption_parts | awk '{printf ("'"'"'%s'"'"',",$9)}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment