Skip to content

Instantly share code, notes, and snippets.

@gwenshap
Created November 6, 2012 02:41
Show Gist options
  • Select an option

  • Save gwenshap/4022222 to your computer and use it in GitHub Desktop.

Select an option

Save gwenshap/4022222 to your computer and use it in GitHub Desktop.
Example of AWK and Shell quote wierdness
#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