I'm trying to use xargs to manipulate a set of files.
A file called filelist.txt contain the file names
john paul george ringo steve
I can create all these files with this command:
cat filelist.txt | xargs touch
How would I add the same text 'hello' to every file in the list? Also, how would I add text based on the file name.. i.e. 'first name: steve' to the steve file?