I hope to draw on the knowledge of those who know far more about scripting than I. I have two files, F1 and F2, where F2 is located in a sub-directory of F1. I need to output a new file, F3, that has the entire contents of F1, followed by the contents of F2 but excluding the first line of F2 (the contents obtained by doing 'tail +2 subdir/F2'). My attempts so far have been fruitless, so any help would be gratefully received.
|
feedback
|
This will write | |||||||
feedback
|
|
You can also use command grouping to obtain a one-liner:
| |||
|
feedback
|
