The problem is there will be multiple (up to 6) sheets which contain product options for different overall products. So I'd like to roll them all up into a single sheet. Using a button to perform the rollup to the master sheet would be fine, I'm not necessarily looking for it to be in the...
I have created a price list for a certain product, with the product description, part number and price listed on each line. There is also a column on each line for quantity. I want to take any line where they have entered a quantity, and copy that line to a master "cover page" as a summary of...
I think I got by this by dd on the first 8 blocks and count =1 files=1 which gives me the first 8 blocks, which are straight text. Soooo, now I just need to figure out how to find the byte position of a character "%" in a file.
Any help is greatly appreciated!!
The rest of the rather intricate script is in csh. As for so far, this is a new requirement, so I have an input filename and an output filename.... just need the rough direction as to which way to go, ie- sed, etc
Thanks!
Hello,
using csh I need to read in the first 2000 bytes of a file, look for the expression (not including quotes)
"%PDF" and split the file before into one file, and the string plus what follows into a separate file, then replace the first 2000 bytes of the original file with the second file...
Thanks everyone for the help. I found a solution. It happens the construction of the file includes certain tagged text in each line I want to remove. Simply fgrep -v on the string, a couple of times (to get all lines), and I'm left with what I need....
I really appreciate everyone's help, as...
I need to determine the byte position of the start point of a string for a csh script. I'm going to use
dd skip=NNN bs=1 if=huge-file of=not-so-huge-file
to take a very large file and skip NNN blocks with a single byte size, so I am just writing out the second half of a very large file.
Any...
I found why it's dumping the file. There is a NULL character (\000) in the file, and at that point, to some point further in the file, it's just getting wiped out. There's only one NULL, but I can't remove it, because if corrupts the second part of the file....
...so, is there a method of...
I'm trying to use csplit on a 2 MB file. The split occurs correctly, but the second file created only created 650K or so rather than the 2MB or so it should be.
Help!! All I'm trying to do is spli out a certain number of lines at the header of the file, based on the existence of a string...
Still don't know why it's not working, but I used:
cat filename | tr ">" "\n" > newfilename
and that worked.
Thanks for the effort. I think it may be my version of sed.
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.