13

change in last line of each part of a file

view full story
linux-howto

http://www.unix.com – Hi, I have a input files as below. Sample of one input file type mtg_key = record decimal("\344") id; string("\344") ct_cd; string("\344") st_cd; end; type psl_key = record decimal("\344") id; utf8 string("\344") st_cd; end; type amk_fields = record decimal("\344") tx_id; utf8 string("\344") ty_cd; decimal("\344") dvr_id; end; required output file type mtg_key = record decimal("\344") id; string("\344") ct_cd; string("\344\006") st_cd; end; type psl (HowTos)