Code: Select all
sed -i.bak "s/.*/%prefix%&/" "input.txt"
Code: Select all
sed -i.bak "s/.*/%prefix%&/" "input.txt"
sfournier wrote: based on a list I have in a different file.
the #'s in the second .TXT file are listed below.
Code: Select all
ClassID ID
1 10001
1 10004
2 10002
3 10003