10 More Discussions You Might Find Interesting
1. 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
2. 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
3. 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
4. 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
5. 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
6. 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
7. 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
8. 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
9. 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
10. 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