DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
combine files with header bash
awk ' FNR==1 && NR!=1 { while (/^<header>/) getline; } 1 {print} ' file*.txt >all.txt
Source by unix.stackexchange.com #
PREVIOUS
NEXT
Tagged:
#combine
#files
#header
#bash
ADD COMMENT
Topic
COMMENT
Name
9+7 =
Submit