I have two files. One being a schema, and the other a list of data. The schema looks like:
line_name: shot_edit: channel edit: cable_edit and repeats regularly for the number of lines that I have.
The other file is a list of line names and goes:
name1 name2 name3 I'd like to copy all the line names into just after the line_name field, but I'm really not all that good with awk. Could anyone give me some pointers?
line_name: name1 name2 name3or do you want something more complex? How many lines more or less? Doescable_editnot have a:? What are the names? Do they contain spaces?