12-12-2011
The do not actually are in each of the files but some files have headers.
Thank you for your message.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a CSV file with a variable number of fields per record. How do I print lines of a certain number of fields only? Several permutations of the following (including the use of escape characters) have failed to retrieve the line I'm after (1,2,3,4)...
$ cat myfile
1,2,3,4
1,2,3
$ # Print... (1 Reply)
Discussion started by: cs03dmj
1 Replies
2. Shell Programming and Scripting
I have about 20 CSV's that all look like this:
"","","","","","","","","","","","","","","",""What I've been told I need to produce is the exact same thing, but with each file now containing the start_code from every other file where the email matches.
It doesn't matter if any of the other... (1 Reply)
Discussion started by: Demosthenes
1 Replies
3. Shell Programming and Scripting
So I work in a 1 to 1 laptop deployment and sometimes we need to mass order parts. The vendor will send us a text file and we have to manually input serial numbers. Well I have a full blown web based inventory system which I can pull serial number reports from.
I then have to input the part... (4 Replies)
Discussion started by: tlarkin
4 Replies
4. Shell Programming and Scripting
Hi All,
I am new to shell scripting..My problem is i want to give multiple csv files as input to awk script and process the data into one file..
My input file is
File1 File2 File3
Product Location Period SalesPrice
A x 8/11/2010 ... (7 Replies)
Discussion started by: kvth
7 Replies
5. Shell Programming and Scripting
Hi all,
Please go through my requirement.
I have a log file in the location /opt/WebSphere61/AppServer/profiles/EMQbatchprofile/logs/EMQbatch
This file contains the follwing pattern data
<af type="tenured" id="42" timestamp="May 14 13:44:13 2011" intervalms="955.624">
<minimum... (8 Replies)
Discussion started by: satish.vampire
8 Replies
6. Shell Programming and Scripting
Hi
I have two csv files, with the following formats:
FileA.log:
Application, This occured blah
Application, That occured blah
Application, Also this
AnotherLog, Bob did this
AnotherLog, Dave did that
FileB.log:
Uk, London, Application, datetime, LaterDateTime, Today it had'nt... (8 Replies)
Discussion started by: PerlNewbRP
8 Replies
7. Shell Programming and Scripting
hi, someone to know how can i read a specific column of csv file and search the value in other csv columns if exist the value in the second csv copy entire row with all field in a new csv file. i suppose that its possible using awk but i m not expertise thanks in advance (8 Replies)
Discussion started by: giankan
8 Replies
8. UNIX for Dummies Questions & Answers
:confused:Hello -- i just joined the forums. I am a complete noob -- only about 1 week into learning how to program anything... and starting with linux.
I am working in Linux terminal.
I have a folder with a bunch of txt files. Each file has several lines of html code. I want to combine... (2 Replies)
Discussion started by: jetsetter
2 Replies
9. Shell Programming and Scripting
There is a closed thread called "carriage returns within quotation marks causing new lines in csv" that I am unable to post to, so I am starting a new thread.
The awk solution worked perfectly in most cases. We have some cases where there are multiple carriage returns within a single quoted... (9 Replies)
Discussion started by: Mary Roberts
9 Replies
10. Shell Programming and Scripting
Hi,
In a csv file, I want to select records where first column has zero or multiple spaces.
Eg: abc.csv
,123,a
,22,b
,11,c
a,11,d
So output should be:
,123,a
,22,b
,11,c
Please advise (5 Replies)
Discussion started by: vegasluxor
5 Replies
LEARN ABOUT HPUX
readmail
readmail(1) General Commands Manual readmail(1)
NAME
readmail - read mail from a mail folder or incoming mailbox
SYNOPSIS
folder] [number-list|pattern]
DESCRIPTION
The program displays messages from your incoming mailbox or a specified mail folder.
Within the mail system (see elm(1) with no operands and optionally the or option, displays the appropriate headers and the body of the cur-
rent message.
With the number-list operand and no options, displays the corresponding messages and a summary of the headers from your incoming mailbox.
With the pattern operand and no options, displays the first message that matches the pattern and a summary of the headers from your incom-
ing mailbox.
Options
supports the following options.
Print all messages that match
pattern. If no pattern was specified, this option is ignored.
Use file folder for the operations instead of the incoming mailbox.
Include the entire header of the matched message or messages
when displaying their text. The default is to display the and lines only.
Exclude all headers.
Put form feeds (
between message headers. This is useful when printing sets of messages.
Operands
supports the following operands.
number-list A blank-separated list of the ordinal locations of messages in the mail file (i.e., their "message numbers"), up to
25 at a time. The character means the last message in the mail file. Similarly, represents every message in the
file (i.e.,
The message numbers are sorted into ascending order. Thus, produces the same output as
pattern A string that is present in one of the messages. This pattern can be typed in directly (no quotes) if the words are
separated by a single space in the actual message. The pattern matching is case sensitive, so and are not equiva-
lent. Leading digits (on the first word) are not permitted; however, you can precede them with a space and quote the
entire string, if the space occurs in the message, as in .
EXAMPLES
If you are using to reply to a message from within the mail system, you can insert the text of the current message with the command:
If you define an alias similar to:
you can use it with a program such to peruse mail as it arrives, without needing to start a mail system (see newmail(1)).
AUTHOR
was developed by HP.
FILES
Incoming mailbox
Temporary file for
SEE ALSO
elm(1), newmail(1), vi(1).
readmail(1)