Skip to content

Instantly share code, notes, and snippets.

@napsternxg
Created October 18, 2012 10:51
Show Gist options
  • Save napsternxg/3910967 to your computer and use it in GitHub Desktop.
Save napsternxg/3910967 to your computer and use it in GitHub Desktop.
Find all full fill paths in a file having strings
# syncFiles is a file name you can also use any command like ls, p4 sync ... instead of cat syncFiles
cat syncFiles | cut -f 2 -d "-" | sed -e 's/\([A-Za-z0-9 ]*\)\([\/\.A-Za-z0-9_]*\)\([A-Za-z0-9 ]*\)/\2/g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment