12-10-2009
3 files combine into one help please
Ok here is what I have
file a
{{BEGIN}}
{{FAX
File b
5555464584
5555465292
5555465828
5555485930
5555474939
File C
}}
ON ORDERS LESS THAN 70 LBS AND THE PACKAGE IS A
COMBINED LENGTH AND GIRTH EQUAL TO OR LESS THAN
108" PLEASE UTILIZE UPS.
**************************************************
PRICES SHOWN ON THIS ORDER ARE CONSIDERED FIRM.
INVOICES WITH PRICES OTHER THAN THOSE SHOWN WILL
NOT BE ACCEPTED. IF NOT IN AGREEMENT, PLEASE
CONTACT PURCHASING DEPARTMENT IMMEDIATELY FOR
PERMISSION TO CHANGE.
{{END}}
The out put file need to look like this
{{BEGIN}}
{{FAX 5555464584 }}
ON ORDERS LESS THAN 70 LBS AND THE PACKAGE IS A
COMBINED LENGTH AND GIRTH EQUAL TO OR LESS THAN
108" PLEASE UTILIZE UPS.
**************************************************
PRICES SHOWN ON THIS ORDER ARE CONSIDERED FIRM.
INVOICES WITH PRICES OTHER THAN THOSE SHOWN WILL
NOT BE ACCEPTED. IF NOT IN AGREEMENT, PLEASE
CONTACT PURCHASING DEPARTMENT IMMEDIATELY FOR
PERMISSION TO CHANGE.
{{END}}
{{BEGIN}}
{{FAX 5555465292 }}
ON ORDERS LESS THAN 70 LBS AND THE PACKAGE IS A
COMBINED LENGTH AND GIRTH EQUAL TO OR LESS THAN
108" PLEASE UTILIZE UPS.
**************************************************
PRICES SHOWN ON THIS ORDER ARE CONSIDERED FIRM.
INVOICES WITH PRICES OTHER THAN THOSE SHOWN WILL
NOT BE ACCEPTED. IF NOT IN AGREEMENT, PLEASE
CONTACT PURCHASING DEPARTMENT IMMEDIATELY FOR
PERMISSION TO CHANGE.
{{END}}
{{BEGIN}}
{{FAX 5555465828 }}
ON ORDERS LESS THAN 70 LBS AND THE PACKAGE IS A
COMBINED LENGTH AND GIRTH EQUAL TO OR LESS THAN
108" PLEASE UTILIZE UPS.
**************************************************
PRICES SHOWN ON THIS ORDER ARE CONSIDERED FIRM.
INVOICES WITH PRICES OTHER THAN THOSE SHOWN WILL
NOT BE ACCEPTED. IF NOT IN AGREEMENT, PLEASE
CONTACT PURCHASING DEPARTMENT IMMEDIATELY FOR
PERMISSION TO CHANGE.
{{END}}
{{BEGIN}}
{{FAX 5555485930 }}
ON ORDERS LESS THAN 70 LBS AND THE PACKAGE IS A
COMBINED LENGTH AND GIRTH EQUAL TO OR LESS THAN
108" PLEASE UTILIZE UPS.
**************************************************
PRICES SHOWN ON THIS ORDER ARE CONSIDERED FIRM.
INVOICES WITH PRICES OTHER THAN THOSE SHOWN WILL
NOT BE ACCEPTED. IF NOT IN AGREEMENT, PLEASE
CONTACT PURCHASING DEPARTMENT IMMEDIATELY FOR
PERMISSION TO CHANGE.
{{END}}
{{BEGIN}}
{{FAX 5555474939 }}
ON ORDERS LESS THAN 70 LBS AND THE PACKAGE IS A
COMBINED LENGTH AND GIRTH EQUAL TO OR LESS THAN
108" PLEASE UTILIZE UPS.
**************************************************
PRICES SHOWN ON THIS ORDER ARE CONSIDERED FIRM.
INVOICES WITH PRICES OTHER THAN THOSE SHOWN WILL
NOT BE ACCEPTED. IF NOT IN AGREEMENT, PLEASE
CONTACT PURCHASING DEPARTMENT IMMEDIATELY FOR
PERMISSION TO CHANGE.
{{END}}
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i need to combine two file. These two files have the same line number, and i need to combine each corresponding line. I tried the paste, but i need coma as the delimeter. are there anyway to do it? thanks. (4 Replies)
Discussion started by: tao
4 Replies
2. Shell Programming and Scripting
hi all
i have 2 files f1 and f2
i have to combine these 2 files and make a new file f3
when i use paste f1 f2 >f3 its pasting vertically
but i want to paste horizontally
How to do ..
pls let me know (2 Replies)
Discussion started by: ravi.sadani19
2 Replies
3. Shell Programming and Scripting
I have two files: file1 and file2
the content of files1 is:
13
22
333
42
56
55
...
the content of file2 is:
aa
dd
cc
ee
ff
gg
... (1 Reply)
Discussion started by: fredao1
1 Replies
4. Shell Programming and Scripting
I have 2 files that I need to combine.
One file is looks like this:
71664107;1;1;05-FEB-07;12-FEB-07;
The other file looks like this:
U;71664107;dummy;Pirovano;M;04-SEP-75;Georgia;MI;1;1;31;S;S;;;Y;05-02-2007;0;12-FEB-07;
I need to combine both files together. I need the shorter... (4 Replies)
Discussion started by: goodmis
4 Replies
5. HP-UX
Hi :
I have a file containing the print queues with their IP address. I wanted to combine the 'lpstat' output with their respective IP address.
For example :
zebhtrmb-6078 lgonzale priority 0 Mar 17 11:50 on zebhtrmb
with
zebhtrmb-6078 lgonzale priority 0 ... (1 Reply)
Discussion started by: rdasari
1 Replies
6. Shell Programming and Scripting
Hi All ,
Any one help me to combine two files in shell scripting .Below is my requrement
i have 2 files as follows
filea
newyork America
Texas America
london Engalad
Fileb
abc
def
xyz
i have to combine this file as follows
newyork America abc
Texas ... (1 Reply)
Discussion started by: ajmalc
1 Replies
7. Shell Programming and Scripting
I have multiple files; each file contains a certain data in a column view
simply i want to combine all those files into one file in columns
example
file1:
a
b
c
d
file 2:
1
2
3
4
file 3:
G (4 Replies)
Discussion started by: ahmedamro
4 Replies
8. Shell Programming and Scripting
Hi,
i have two files. i want to combine records from these two files in below manner :-
first line from first file(1st line)
2nd line from 2nd file(1st line)
3rd line from 1st file(2nd line)
4th line from 2nd file(2nd line)
so on.... (1 Reply)
Discussion started by: deepakiniimt
1 Replies
9. Shell Programming and Scripting
I have n of files with ending with _ZERO.txt
need to combine all file ending with _ZERO.txt into 1 file
ex:
A_ZERO.txt
1
2
B_ZERO.txt
3
4
Output:
FINAL.txt
1
2 (3 Replies)
Discussion started by: satish1222
3 Replies
10. UNIX for Beginners Questions & Answers
i use the split command to split a one terabyte backup file into 10 chunks of 100 GB each. The files are split one after the other. While the files is being split, I will like to scp the files one after the other as soon as the previous one completes, from server A to Server B. Then on server B ,... (2 Replies)
Discussion started by: malaika
2 Replies
LEARN ABOUT REDHAT
upsdrvctl
UPSDRVCTL(8) Network UPS Tools (NUT) UPSDRVCTL(8)
NAME
upsdrvctl - UPS driver controller
SYNOPSIS
upsdrvctl -h
upsdrvctl [-t] [-v] (start | stop | shutdown | status) [ups]
DESCRIPTION
upsdrvctl provides a uniform interface for controlling your UPS drivers. You should use upsdrvctl instead of direct calls to the drivers
whenever possible.
When used properly, upsdrvctl lets you maintain identical startup scripts across multiple systems with different UPS configurations.
OPTIONS
-h Display the help message.
-t Enable testing mode. This also enables verbose mode. Testing mode makes upsdrvctl display the actions it would execute without
actually doing them. Use this to test out your configuration without actually doing anything to your UPS drivers. This may be
helpful when defining the 'sdorder' directive in your ups.conf(5).
-v Enable verbose messages.
COMMANDS
upsdrvctl supports four commands - start, stop, shutdown and status. They take an optional argument which is a UPS name from ups.conf(5).
Without that argument, they operate on every UPS that is currently configured.
start Start the UPS driver(s).
stop Stop the UPS driver(s).
shutdown
Command the UPS driver(s) to run their shutdown sequence. Drivers are stopped according to their sdorder value - see ups.conf(5).
WARNING: this will probably power off your computers, so don't play around with this option. Only use it when your systems are pre-
pared to lose power.
status Check the status of the UPS driver(s).
If every UPS that has been checked is running, then the exitcode will be 0. If one seems to be missing, the exitcode will be 1.
BUGS
The status checking is rudimentary, and really only looks for the presence of .pid files. If you really want to know if your UPS drivers
are alive and well, upsmon(8)'s NOCOMM notifier does a fine job.
SEE ALSO
nutupsdrv(8), upsd(8) ups.conf(5)
Internet resources:
The NUT (Network UPS Tools) home page: http://www.exploits.org/nut/
NUT mailing list archives and information: http://lists.exploits.org/
Wed Oct 16 2002 UPSDRVCTL(8)