Hi Gurus,
I am a starter with shell script. Help me to achieve this. I have a file with lines given below.
line1
line2
line3
.
.
etc
How can I arrange the file which should look like
line1,line2,line3,..,..,etc
Any help on this is appreciated. (9 Replies)
Hi,
I am new to unix and would greatly appreciate some help.
I have a file containing multiple colums containing different sets of data e.g.
File 1:
John Ireland 27_December_69
Mary England 13_March_55
Mike France 02_June_80
I am currently using the awk... (10 Replies)
I want to put one xml record in one row and so on...
sample two records are here.
<?xml version="1.0"?>
<Object>
<Header>
<XCOMVers>V1.0</XCOMVers>
<REPORT>XXXXX</REPORT>
<CODE>002</CODE>
</Header>
<IssueCard>
<Record>
<L>CAR SYSTEM -SSSSS -</L>
... (1 Reply)
I want to put one xml record in one row and so on...
sample two records are here.
<?xml version="1.0"?>
<Object>
<Header>
<XCOMVers>V1.0</XCOMVers>
<REPORT>XXXXX</REPORT>
<CODE>002</CODE>
</Header>
<IssueCard>
<Record>
<L>CAR SYSTEM -SSSSS -</L>
... (3 Replies)
Hello All,
I have datas in the below format.
Mark 45
Steve 60
Johnson 79
Elizabeth 90
My requirement is to arrange the data in the order as shown in the attachment.
My OS is Solaris.
... (6 Replies)
Hi Experts,
I am querying backup status results for multiple databases and getting each and every database result in one csv file. so i need to combine all csv files in one excel file with separate tabs. I am not familiar with perl script so i am using shell script.
Could anyone please... (4 Replies)
I am trying to consolidate multiple information files (<hostname>.Linux.nfslist) into one file so that I can import it into Excel. I can get the file contents with cat *Linux.nfslist >> nfslist.txt. I need each line prefaced with the hostname. I am unsure how to do this.
--- Post updated at... (5 Replies)
Discussion started by: Kentlee65
5 Replies
LEARN ABOUT HPUX
ypcat
ypcat(1) General Commands Manual ypcat(1)NAME
ypcat - print all values in Network Information Service map
SYNOPSIS
domain] mname
Remarks
The Network Information Service (NIS) was formerly known as Yellow Pages (YP). The functionality of the two remains the same; only the
name has changed.
DESCRIPTION
prints all values in a Network Information Service (NIS) map specified by mname, which can be either a mapname or a map nickname. A map
nickname is a synonym by which a NIS map can be referenced. Values are listed, one per line. Since uses the NIS network services, no NIS
server is specified.
Options
recognizes the following options:
Print the associated key preceding each value.
This option is useful for examining maps in which the values are null or the keys are not part of the value, such as the
ypservers map. The maps derived from files that have an ASCII version in (such as and are not in this category.
Inhibit the translation of a map's
nickname to its corresponding mapname. For example, fails because there is no map named whereas translates to
Specify a
domain other than the default domain, that is, one returned by (see domainname(1)).
Display the
nickname for each NIS map.
EXAMPLES
Display the network-wide password database whose mapname is and nickname is
AUTHOR
was developed by Sun Microsystems, Inc.
SEE ALSO domainname(1), ypmatch(1), ypserv(1M), ypfiles(4).
ypcat(1)