How to put my input record in single quotes?
Posted: Thu Mar 29, 2012 7:59 pm
I have a list of PS file names in another PS file.
Sample Input file
My output file should be
Note: record lengths are variables.
Record1 has 40 bytes.
Record2 has 42 bytes.
Record3 has 38 bytes.
I need the single quote before first character of the record and after last character of the record.
Please suggest me...
Sample Input file
record1
record2
record3
record2
record3
My output file should be
'record1'
'record2'
'record3'
'record2'
'record3'
Note: record lengths are variables.
Record1 has 40 bytes.
Record2 has 42 bytes.
Record3 has 38 bytes.
I need the single quote before first character of the record and after last character of the record.
Please suggest me...