12-17-2008
Thank you very much
Thanks a lot. Your script does the trick for me. I greatly appreciate you patience to help me out. Once again you are a real awk guru and a really nice person. I wish you all the success in life. God Bless.
If you dont mind, I want to ask where are you located in the world....?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I created a large file list using:
find . -type f -mtime +540 > test2.txt
..which searched recursively down the directory tree searching for any file older than 540 days.
I would like to filter the results removing the directory name and the "/" character, resulting in only a list of the... (3 Replies)
Discussion started by: fxvisions
3 Replies
2. UNIX for Dummies Questions & Answers
Hi all,
I would like to extract records of a file based on a condition. The file contains 47 fields, and I would like to extract only those records that match a certain value in one of the columns, e.g.
COL1 COL2 COL3 ............... COL47
1 XX 45 ... (4 Replies)
Discussion started by: risk_sly
4 Replies
3. Shell Programming and Scripting
Can anybody help me with writing a script for the data that I want to use from one file based on the data from another file. I have file1 in this form;
(the first field represents a well name and the second field represents the depth of interest)
FILE1
--------
DATA_35_0 ... (2 Replies)
Discussion started by: digipak
2 Replies
4. Shell Programming and Scripting
I have a ";" delimited file.Whcih conatins a number fileds of length 4 charcters in 8th position
But there is a alphanumeric charcters like :
space, ";" , "," , "/" , "23-1" ,
"23 1" , "aqjhdj" , "jun-23" , "APR-04" , "4:00AM" , "-234" , "56784 ", "." , "+"
"_" , "&" , "*" , "^" , "%" , "!"... (2 Replies)
Discussion started by: indusri
2 Replies
5. Shell Programming and Scripting
Hi I have a file like this. I need to eliminate lines with first column having the same value 10 times.
13 18 1 + chromosome 1, 122638287 AGAGTATGGTCGCGGTTG
13 18 1 + chromosome 1, 128904080 AGAGTATGGTCGCGGTTG
13 18 1 - chromosome 14, 13627938 CAACCGCGACCATACTCT
13 18 1 + chromosome 1,... (5 Replies)
Discussion started by: polsum
5 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I am looking for an awk script which should help me to meet the following requirement:
File1 has records in following format
INF: FAILEd RECORD AB1234
INF: FAILEd RECORD PQ1145
INF: FAILEd RECORD AB3215
INF: FAILEd RECORD AB6114
............................ (2 Replies)
Discussion started by: mintu41
2 Replies
7. Shell Programming and Scripting
Hi friends,
I have one file like below. (.csv type)
SNo,data1,data2
1,1,2
2,2,3
3,3,2
and another file like below.
Exclude
data1
where Exclude should be treated as column name in file2.
I want the output shown below.
SNo,data2
1,2
2,3
3,2
Where my data1 column got removed from... (2 Replies)
Discussion started by: ks_reddy
2 Replies
8. Shell Programming and Scripting
please help solving the following. I have access to redhat linux cluster having 32gigs of ram.
I have duplicate ids for variable names, in the file 1,2 are duplicates;3,4 and 5 are duplicates;6 and 7 are duplicates. My objective is to use only the first occurrence of these duplicates.
Lookup... (4 Replies)
Discussion started by: ritakadm
4 Replies
9. UNIX for Beginners Questions & Answers
Hi there,
I am trying to filter a big file with several columns using values on a column with values like (AC=5;AN=10;SF=341,377,517,643,662;VRT=1). I wont to filter the data based on SF= values that are (bigger than 400)
... (25 Replies)
Discussion started by: daashti
25 Replies
10. UNIX for Beginners Questions & Answers
Hi,
I tried filtering the records in a csv file using "awk" command listed below.
awk -F"~" '$4 ~ /Active/{print }' inputfile > outputfile
The output always has all the entries.
The same command worked for different users from one of the forum links.
content of file I was... (3 Replies)
Discussion started by: sunilmudikonda
3 Replies
LEARN ABOUT DEBIAN
eneconv
eneconv(1) GROMACS suite, VERSION 4.5.4-dev-20110404-bc5695c eneconv(1)
NAME
eneconv - converts energy files
VERSION 4.5.4-dev-20110404-bc5695c
SYNOPSIS
eneconv -f ener.edr -o fixed.edr -[no]h -[no]version -nice int -b real -e real -dt real -offset real -[no]settime -[no]sort -[no]rmdh
-scalefac real -[no]error
DESCRIPTION
With multiple files specified for the -f option:
Concatenates several energy files in sorted order. In the case of double time frames, the one in the later file is used. By specifying
-settime you will be asked for the start time of each file. The input files are taken from the command line, such that the command eneconv
-f *.edr -o fixed.edr should do the trick.
With one file specified for -f:
Reads one energy file and writes another, applying the -dt, -offset, -t0 and -settime options and converting to a different format if
necessary (indicated by file extentions).
-settime is applied first, then -dt/ -offset followed by -b and -e to select which frames to write.
FILES
-f ener.edr Input, Mult.
Energy file
-o fixed.edr Output
Energy file
OTHER OPTIONS
-[no]hno
Print help info and quit
-[no]versionno
Print version info and quit
-nice int 19
Set the nicelevel
-b real -1
First time to use
-e real -1
Last time to use
-dt real 0
Only write out frame when t MOD dt = offset
-offset real 0
Time offset for -dt option
-[no]settimeno
Change starting time interactively
-[no]sortyes
Sort energy files (not frames)
-[no]rmdhno
Remove free energy block data
-scalefac real 1
Multiply energy component by this factor
-[no]erroryes
Stop on errors in the file
KNOWN PROBLEMS
- When combining trajectories the sigma and E2 (necessary for statistics) are not updated correctly. Only the actual energy is correct. One
thus has to compute statistics in another way.
SEE ALSO
gromacs(7)
More information about GROMACS is available at <http://www.gromacs.org/>.
Mon 4 Apr 2011 eneconv(1)