I have a script that sequentially read thru a file in a while do loop. However leading spaces from the records are removed by the read, is there anyway to keep these spaces.
example
while read -r line
do
PROCESS goes here
done < $PrintFile
If my line is " Here is some text", $line...
I have a file which contains PCL codes as well as other text records. Its basically a file with formatted letters. I have written a script which takes some id's as input and strips off the letters for those ids using csplit within a loop. The script works fine except the lines with PCL codes are...
I have just installed a new Western Digital Harddrive 80GB on my Sony Vaio computer. Drive is partitioned 40/20/20. I now need to install operating system. When I boot using Win98 Startupdisk I can access the CDROM but the 3 partitions are not found hance when I try to run setup it fails.
When...
I have just installed a new Western Digital Harddrive 80GB on my Sony Vaio computer. Drive is partitioned 40/20/20. I now need to install operating system. When I boot using Win98 Startupdisk I can access the CDROM but the 3 partitions are not found hance when I try to run setup it fails.
When...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.