Hi,
I have a file with on one line a uid, and on the next line a date. I am trying to make the to into one line.
Here's an example:
koppx
20031125
kraan
20031119
sarox
20031107
And this is what i want it to be:
koppx;20031125
kraan;20031119
sarox;20031107
I have been trying... (4 Replies)
Hi All,
I have output like this in one file.
IFName: aust00m1.mis.amat.com ]
ObjID: 5eceea48-0d59-71dd-1512-9887a1f10000
IFAlias: Dest: AMNA austkchr1-ser0/0/0:0.315 Type: FRASI CID: DHEC.559128
IFDescription: ATM9/1/0.315-atm subif
Status: Normal
IFName: aust00m1.mis.amat.com ]
ObjID:... (3 Replies)
can anyone tell me as "how to join all lines in a file " using a shell script
Actually i have many files in a directory and for each file i want to join all the lines using a shell scrip .
Thanks in advance!!! (8 Replies)
Hi All,
Currently, the output looks like this:
hdisk0
queue_depth:3
hdisk1
queue_depth:3
hdisk2
queue_depth:1
hdisk3
queue_depth:1
I need to change the format to look like this:
hdisk0 queue_depth:3
hdisk1 queue_depth:3
hdisk2 queue_depth:1 (8 Replies)
hi all i have sample and i need script to do this
/dev/xxx oracle test
/dev/sap
9999 000 88 99
i need the out put like this
/dev/xxx oracle test
/dev/sap 9999 000 88 99
can any one provide me with an idea to solve this problem (8 Replies)
I want to join this two lines but only when after him
I have nothing or a comma
Yes, I know Jonesy, and I'll give him
about one more minute.
this two lines must become
Yes, I know Jonesy, and I'll give him about one more minute.
thank you very much (11 Replies)
I have a file like this:
---------------------------------------------------------------
26
00:04:48,440 --> 00:04:51,440
I don't know why he can't just do
the Great Apache Flaming Arrow Act.
27
00:04:52,440 --> 00:04:54,839
Didn't you tell him
to use the gopher snake?
28... (1 Reply)
Hi
I have a source file ( written i C ) where a funtion call is spread over multiple lines, for example :
func(
a,
b,
c
);
I want this to be joined into one single line :
func(a,b,c);
How can this be done with awk and sed ?
Regards. Hench (2 Replies)
Hello UNIX gurus, I am new to the world of UNIX. Hopefully I am submitting my question at the right forum. Here is my dilemma -
I have a file with contents like this -
"line1","Hello","World","Today is a wonderful day","yes it is"
"line2","Hello","World","Today is a
beautiful day","oh... (8 Replies)
Discussion started by: foolishbar
8 Replies
LEARN ABOUT HPUX
named-checkzone
named-checkzone(1) General Commands Manual named-checkzone(1)NAME
named-checkzone - zone validity checking tool
SYNOPSIS
class] mode] mode] outfile] directory] directory] zonename [filename]
DESCRIPTION
is a tool for performing integrity checks on the zone contents. It uses the same integrity checks as the daemon when loading a zone. This
makes useful for checking zone files before configuring them into a name server. Zones and zone files are described in named.conf(4).
Options
Specify the class of the zone.
Dump the zone file in canonical format.
Enable debugging.
Read the journal (if it exists) when loading the zone file.
Perform checks with the specified failure mode. Possible modes are (default), and The option is described in named.conf(4).
Specify whether NS records should be checked to see if they are addresses.
Possible modes are (default), and
Write zone output to
outfile .
Enable quiet mode for exit code only.
Print the version of
and exit.
Change to directory (see chdir(2)) so that relative file names in master file directives work This is similar to the clause in
Operands
filename The file to use for checking the zone contents. The default is the file with the zone name. For the default to work, the file
name for the zone in the statement of the file must be identical to the zone name.
zonename The zone whose contents are to be checked.
RETURN VALUE
sets the exit status to:
Success.
Errors were detected.
EXAMPLES
To perform integrity checks on zone in the zone file and display debug information:
AUTHOR
was developed by the Internet Systems Consortium (ISC).
SEE ALSO named(1M), chdir(2), named.conf(4).
Requests for Comments (RFC): 1035, available online at
available online at
available from the Internet Systems Consortium at
BIND 9.3 named-checkzone(1)