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.
Thanks Steve,
I've been trying this, but for some reason, the \n is not being interpreted and it's just replacing the > with >n
Any thoughts. I'm on Solaris 2.6
Thanks again.
Using c-shell, I need to do the following:
I have an XML file that has <tag>data</tag><tag2>more data</tag2>
etc..... This is all on one long line, or multiple lines if it goes past 1024 characters or so. I need to work with this file to parse these values, and want to break the file up...
I've writing a script that searches specific lines within a file and outputs them to a variable. Head | Tail combinations and sed -n ?p combinations all seem to be very slow as you get into a large file (25MB or so). Is there some way, maybe with awk or nawk to quickly send a specific line to...
Very frustrating problem. I run a network at home with a linksys wi-fi/4 port router and a DSL connection. I had to take the wireless router out for a few days so I installed Bell South's fastaccess DSL software on one of the systems and plugged it straight into the DSL Modem. THat worked fine...
I'm having a similar problem. I get the same WSAStartup error, and my attempt to grab an IP through DHCP is failing. It's giving me a generic 169.x.x.x ip, which WIndows assigns when it can't see the DHCP server. My other systems can get on just fine.
If you hear of anything else that may fix...
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.