09-07-2011
Danmero your brilliant! Thank you so much for your help! This is exactly what I needed.
This solution was a lot simpler than I expected, I am rather little embarrassed I didnt come up with this myself. All the same, I really appreciate your help.
Best regards
SS
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I have i got a requirement like below.
I have input file which contains following fixed width records.
00000000000088500232007112007111
I need the full record and concatenated with ~ and characters from 1to 5 and concatenated with ~ and charactes from 10 to 15
The out put will be like... (1 Reply)
Discussion started by: ukatru
1 Replies
2. Shell Programming and Scripting
How do I use awk to find the records in a file that contains two specific strings?
I have tried piping and using awk two times, but I don't know how to do it in one action. (2 Replies)
Discussion started by: locoroco
2 Replies
3. Shell Programming and Scripting
Hi,
i want to generate print statement using awk.
i have 20+ and 30+ fields in each line
Now its priting only first eight fields print statement as output not all.
my record is as shown below filename
... (2 Replies)
Discussion started by: raghavendra.nsn
2 Replies
4. UNIX for Dummies Questions & Answers
does anyone have an awk one-liner to:
print the first line, the second line, then every Nth line, and the last line of a file.
Thanks,
Kenny. (5 Replies)
Discussion started by: kenneth.mcbride
5 Replies
5. Shell Programming and Scripting
Hi - I'm new to working with multiline records and I'm going nuts trying to do something that seems simple.
Input:
Tue May 1 14:00 Header Record 1 is valid.
Tue May 1 14:00 processing data to 25-Mar-2012 09:00:23.15
Tue May 1 14:03 Header Record 1 is valid.
Tue May 1 14:03 processing data... (4 Replies)
Discussion started by: Catullus
4 Replies
6. Shell Programming and Scripting
I have an initial record 0.018
I would like a script that would for i=0;i<200;i++ print
0.018*1
0.018*2
0.018*3
0.018*4
...
0.018*200
using newline. (7 Replies)
Discussion started by: chrisjorg
7 Replies
7. Shell Programming and Scripting
Gents,
I needs to delete duplicate values and only get uniq values based in columns 2-27
Always we should keep the last record found...
I need to store one clean file and other with the duplicate values removed.
Input :
S3033.0 7305.01 0 420123.8... (18 Replies)
Discussion started by: jiam912
18 Replies
8. Shell Programming and Scripting
Input file 1:
- 7367 8198
- 8225 9383
+ 9570 10353
Input file 2:
- 2917 3667
- 3851 4250
+ 4517 6302
+ 6302 6740
+ 6768 7524
+ 7648 8170
+ 8272 8896
+ 8908 9915
- 10010 ... (18 Replies)
Discussion started by: perl_beginner
18 Replies
9. Shell Programming and Scripting
Hi,
I need help on a complicated file that I am working on. I wanted to extract important info from a very huge file. It is space delimited file. I have hundred thousands of records in this file. An example content of the inputfile as below:-
##
ID Ser402 Old; 23... (2 Replies)
Discussion started by: redse171
2 Replies
10. Shell Programming and Scripting
Hello,
I have some text data that is in the form of multi-line records. Each record ends with the string $$$$ and the next record starts on the next line.
RDKit 2D
15 14 0 0 0 0 0 0 0 0999 V2000
5.4596 2.1267 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 ... (5 Replies)
Discussion started by: LMHmedchem
5 Replies
pddump(1) General Commands Manual pddump(1)
NAME
pddump - Dump profiling data files
SYNOPSIS
pddump file...
OPERANDS
A data file generated by a profiled program. A valid file is identified as a "profiling data file" by the file(1) command.
DESCRIPTION
The pddump command displays, on the standard output, the record definitions and data of the specified profiling data files.
Each file's dump is prefixed by the line "File = file:". This is followed by the file's field-alignment option and a list containing the
file's name/value attribute pairs and the file's record definitions. Then each record in the file is dumped, showing the name of the record
and the name and value of each of its fields.
Strings are printed within double quotes, unsigned integers are printed in hexadecimal, and signed integers and floating-point numbers are
printed in decimal. Non-array data lines contain equal signs to assist in filtering.
The content of the profiling data files produced by Tru64 UNIX may be expanded in future releases, but Tru64 UNIX tools will continue to
support older formats. To write tools that process Tru64 UNIX profiling data files, use the pdtostd(1) command to convert the Tru64 UNIX
formats to industry standard formats, where a standard format exists. Alternatively, use the libpdf.a utilities to read the profiling data
files directly, skipping any new attributes, records, or fields that may appear.
FILES
Library of routines for reading and writing profiling data files Header file for libpdf.a
SEE ALSO
Commands: atom(1), cc(1), file(1), kprofile(1), pdtostd(1), uprofile(1)
AtomTools: hiprof(5), pixie(5)
Programmer's Guide
pddump(1)