What would be the easiest and most efficiet way to put a leading and trailing double-quote on every line in a file (that has 10 MIL lines)
I kno this works:
Code:
sed "s/^/\"/" my_10MIL_LINE_file.txt | sed "s/$/\"/" > my_10MIL_LINE_file.txt.tmp
But is there a better way of doing this ? I need to do this for several 10 MIL lines file each nite.