Add pp implementation
[pp.git] / README.md
blob2f2e4de01894d1573f0449800fe0832e63751abd
1 # pp (prepend)
3 The pp (prepend) utility takes the content of the first input file and inserts it above the first line of the second
4 file. So, essentially, if I have a CSV file without a header and I want to quickly insert the header from a file, I
5 would run:
7     pp header.txt spreadsheet.csv
9 and it would be equivalent to
11     cat header.txt spreadsheet.csv > temp
12     mv temp spreadsheet.csv
14 but also support all of the expected POSIX niceties like reading from stdin, etc.