instead of writing the file path, and using tab completion to view a file listed in a programs output: you pipe the programs output into a command to get the desired line, pipe then pipe that into AWK, so you can pipe that into xargs ....
or maybe it's just being lazy....
Terry@dixie$ perl script-name project --debug | head -n 1 | awk '{ print $2 }' | xargs cat
No comments:
Post a Comment