awk -F ";" '{if($10>80 && NR>1) print $0 }' txt_file_*
I am using this command to print the lines which has 10th field more then 80 and leaving the first line of the file which is the header.
But this is not working , the first line is is coming as output , please correct me .
thanks (2 Replies)
Hi all,
This should be very easy but I can't figure it out...
I have a file that looks like this:
@SRR057408.1 FW8Y5CK02R652T length=34
AGCAGTGGTATCAACGCAGAGTAAGCAGTGGTAT
+SRR057408.1 FW8Y5CK02R652T length=34
FIIHFF6666?=:88@@@BBD:::?@ABBAAA>8
@SRR057408.2 FW8Y5CK02TBMHV length=52... (1 Reply)
Hi,
Below is the data in a tab limited file
Here ACCENT is just a heading and the line starting with Pcode has the column headers, and there is a 2 lines space between the file header and column header.
I want to print $2, that is Dealer Name
I used the below code
nawk... (1 Reply)
Dear All,
Good Day. I would like to solve the following issue and got some strange results, if anyone could help me in this regard, you are most welcome.
Here is the problem:
I have a file like
Header Value1 Value2 Value3 Value4 Value5 Value6 ... Value9
12.144 6 5 ... (8 Replies)
i have a input of csv file as below but the sequence of column get changed.
I,e it is not necessary that name comes first then age and rest all, it may vary.
name,age,marks,roll,section
kevin,25,80,456,A
Satch,23,56,789,B
Meena,24,78,H245,C
So i want to print that column entires which... (12 Replies)
In the awk below I am trying to print only the header lines starting with # or ## and the lines that $7 is PASS and AF= is less than 5%. The awk does execute but returns an empty file and I am not sure what I am doing wrong. Thank you.
file
... (0 Replies)
I've been struggling with this one for quite a while and cannot seem to find a solution for this find/replace scenario. Perhaps I'm getting rusty.
I have a file that contains a number of metrics (exactly 3 fields per line) from a few appliances that are collected in parallel. To identify the... (3 Replies)
I have a directory of files, I can show the number of lines in each file and order them from lowest to highest with:
wc -l *|sort
15263 Image.txt
16401 reference.txt
40459 richtexteditor.txt
How can I also print the number of unique lines in each file?
15263 1401 Image.txt
16401... (15 Replies)
Discussion started by: spacegoose
15 Replies
LEARN ABOUT DEBIAN
boswars
BOSWARS(6) Games Manual BOSWARS(6)NAME
boswars - futuristic real-time strategy game
SYNOPSIS
boswars [OPTIONS]
OPTIONS -c file.lua
configuration start file (default stratagus.lua)
-d datapath
path to stratagus data
-e Start editor
-h Help shows this page
-l Disable command log
-P port
Network port to use
-n server
Network server host preset
-L lag Network lag in # frames (default 10 = 333ms)
-U update
Network update rate in # frames (default 5=6x per s)
-N name
Name of the player
-s sleep
Number of frames for the AI to sleep before it starts
-v mode
Video mode (0=default,1=640x480,2=800x600, 3=1024x768,4=1280x960,5=1600x1200)
-D Video mode depth = pixel per point (for Win32/TNT)
-F Full screen video mode
-S Sync speed (100 = 30 frames/s)
-W Windowed video mode
map is relative to StratagusLibPath=datapath, use ./map for relative to the current working directory.
AUTHOR
boswars was written by the Bos Wars and Stratagus Project.
This manual page was written by Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>, for the Debian project (and may be used by others).
August 12, 2007 BOSWARS(6)