Posted on 2011-05-07
I need to append words from a file across another file by specifying columns to where append the data.
went to the store
came back from the store
If 0 is specified in a script, then it would be ideal to have input rows to be appended at the beginning of each line. If 1 is specified, then input rows would be appended after 1st word etc. In case where a row does not contain a column before or after which to append the word, it can be ignored.