assuming your input file is in_file. You could code something like this
The result of the final split command will be two or three files name xaa, xab and xac. you will get two files if the in_file is even number in size else three files with the last file xac being just 1 byte.
If you wanted the first half just read xaa, else read xab and xac if available for the latter.
jerardfjay
Last edited by jerardfjay; 06-30-2005 at 04:48 PM..
Reason: more explanation
Hi,
I need a script to assign variables the below paths
/appl/user_projects/domains/<xxx>/servers/<yyy>/logs
Where <xxx> can be any number and name of directories.
<yyy> can be another set of any number of names and directories.
I want to neglect all the <xxx> and <yyy>... (3 Replies)
First, I know that's a bad title. I couldn't think of anything short enough. ...
I wrote the following script to let me know when various parts of the network are down. It used to look like this before last weekend when I got over 500 emails about 1 host being down all weekend:
this is in the... (1 Reply)
hello
My question is whats the difference between LP and LPR to print Sun Solaris ?
lp -dprintername postscriptfile.ps
or
lpr -Pprintname postscriptfile.ps (2 Replies)