Extracting rows from a text file if the value of a column falls between a certain range
Hi,
I have a file that looks like the following:
I want to extract all the lines where the value in column 2 is within +/- 1,000,000 the range given by the values in columns 6 and 7 (i.e. either between the values in columns 6 and 7, or less than 1,000,000 smaller from the value in column 6, or less than 1,000,000 greater from the value in column 7) Thanks!
I have a tab delimited text file where the first column can take on three different values : 100, 150, 250. I want to extract all the rows where the first column is 100 and put them into a separate text file and so on. This is what my text file looks like now:
100 rs3794811 0.01 0.3434... (1 Reply)
I have a tab delimited text file where the first column can take on three different values : 100, 150, 250. I want to extract all the rows where the first column is 100 and put them into a separate text file and so on. This is what my text file looks like now:
100 rs3794811 0.01 0.3434
100... (1 Reply)
I have a text file where the second column is a list of numbers going from small to large. I want to extract the rows where the second column is smaller than or equal to 0.0001.
My input:
rs10082730 9e-08 12 46002702
rs2544081 1e-07 12 46015487
rs1425136 1e-06 7 35396742
rs2712590... (1 Reply)
I have a space delimited text file. I want to extract rows where the third column has 0 as a value and write those rows into a new space delimited text file. How do I go about doing that? Thanks! (2 Replies)
I would like to extract the last column of a text file but different rows of the text file have different numbers of columns. How do I go about doing that? Thanks! (1 Reply)
Hi,
I have a tab delimited text file with multiple columns. The second and third columns include numbers that have not been sorted. I want to extract rows where the second column includes a value between -0.01 and 0.01 (including both numbers) and the first third column includes a value between... (1 Reply)
Hello, I have a file with nearly 57K lines. I want to filter the lines based on the range of values in a column. For e.g. print lines whose 3rd filed is >=0.02.
Input file:
LOC_Os09g32030 LOC_Os02g18880 0.0200037219149773 undirected NA NA
LOC_Os03g58630 LOC_Os09g35690 ... (1 Reply)
I have the file like this:
Timestamp URL Text 1331635241000 http://example.com Peoples footage at www.test.com,http://example4.com 1331635231000 http://example1.net crack the nuts http://example6.com 1331635280000 http://example2.net ... (0 Replies)
I have the file like this:
Timestamp URL Text 1331635241000 http://example.com Peoples footage at www.test.com,http://example4.com 1331635231000 http://example1.net crack the nuts http://example6.com 1331635280000 http://example2.net ... (0 Replies)
I have the file like this:
Timestamp URL Text 1331635241000 http://example.com Peoples footage at www.test.com,http://example4.com 1331635231000 http://example1.net crack the nuts http://example6.com 1331635280000 http://example2.net ... (3 Replies)
Discussion started by: csim_mohan
3 Replies
LEARN ABOUT DEBIAN
oakdecode
oakdecode(1) General Commands Manual oakdecode(1)NAME
oakdecode - Decode an OAKT printer stream into human readable form.
SYNOPSIS
oakdecode [options] <OAKT-file
DESCRIPTION
oakdecode decodes an OAKT printer stream into human readable form.
An OAKT printer stream is the printer langauge used by the HP Color LaserJet 1500 and other printers.
COMMAND LINE OPTIONS
These are the options that can appear on the command line.
-d basename
Basename of .pbm file for saving decompressed planes.
-r basename
Basename of .jbg file for saving raw planes
-i Suppress display of image records.
-o Print file offsets.
-D level
Set Debug level [0].
EXAMPLES
Decode an OAKT file created by foo2oak.
$ oakdecode < testpage.oak
0d(80) 1 OTHER
0c(64) Wed Nov 05 16:30:50 2003 a07d3 100005 32001e
0a(80) testpage.pdf
14(16) (no args)
28(16) Source=Tray1
29(80) PaperType=0 UNK8=2,0,0,0, blanks(63)2a(32) Copies=1 UNK=0
2b(32) papercode=25 xwid=4648 ywid=9000 UNK=0
33(64)
u0 u1 w h resx resy nBits
x0 x0 2128 4300 600 600 x1
15(16) (no args)
bih0 w h l0 bih5 dlen plen unk yOff P subP
3c(64) 00010000 2176 256 256 58030020 1050 1056 000 64 3 0
DL = 0, D = 0, P = 1, - = 0, XY = 2176 x 256
L0 = 256, MX = 32, MY = 0
Order = 3 ILEAVE SMID
Options = 88 LRLTWO TPDON TPBON
1 stripes, 0 layers, 1 planes
3c(64) 00010000 2176 256 256 58030020 3668 3680 000 320 3 0
3c(64) 00010000 2176 256 256 58030020 1463 1472 000 640 3 0
3c(64) 00010000 2176 256 256 58030020 1975 1984 000 896 3 0
3c(64) 00010000 2176 224 224 58030020 2744 2752 000 1152 3 0
3c(64) 00010000 2176 256 256 58030020 988 992 000 1440 3 0
3c(64) 00010000 2176 256 256 58030020 2892 2896 000 1696 3 0
3c(64) 00010000 2176 256 256 58030020 3634 3648 000 1952 3 0
3c(64) 00010000 2176 256 256 58030020 3236 3248 000 2208 3 0
3c(64) 00010000 2176 256 256 58030020 2279 2288 000 2464 3 0
3c(64) 00010000 2176 256 256 58030020 3746 3760 000 2720 3 0
3c(64) 00010000 2176 200 200 58030020 2404 2416 000 2976 3 0
3c(64) 00010000 2176 256 256 58030020 3114 3120 000 3240 3 0
3c(64) 00010000 2176 96 96 58030020 1142 1152 000 3496 3 0
3c(64) 00010000 2176 256 256 58030020 2094 2112 000 3752 3 0
3c(64) 00010000 2176 256 256 58030020 1319 1328 000 4008 3 0
3c(64) 00010000 2176 36 36 58030020 208 224 000 4264 3 0
17(16) (no args)
18(16) UNK=0
0b(16) (no args)
FILES
/usr/bin/oakdecode
SEE ALSO foo2oak-wrapper(1), foo2oak(1), jbg2pbm(1)AUTHOR
Rick Richardson <rick.richardson@comcast.net>
http://foo2oak.rkkda.com/