find . -name "features.2d_table.*" | grep -v png | xargs awk '{print substr(FILENAME,3) " " $0}' > bigtable
Monday, March 1, 2010
Print contents of all files prefixing lines with filename
Print contents of all files (in this case all files starting with features.2d_table.* but not ending with png) prefixing the lines of the file with the filename:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment