Yes, one of those lines is it. If you change:
to:
it should do what you want.
If you re-read this thread, you might notice that the script ahamed101 provided in message #5 in this thread is a condensed version of this script. My comment in message $6 in this thread pointed out that that script did what you are now requesting instead of doing what you originally requested.
These 2 Users Gave Thanks to Don Cragun For This Post:
Hi,
This is my input file:
ali 5 usa abc
abu 4 uk bca
alan 6 brazil bac
pinky 10 utah sdc
My desired output:
pinky 10 utah sdc
alan 6 brazil bac
ali 5 usa abc
abu 4 uk bca
Based on the column two, I want to do the descending order and print out other related column at the... (3 Replies)
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)
how to use "awk" to print any record has pattern not equal ? for example my file has 5 records & I need to get all lines which $1=10 or 20 , $2=10 or 20 and $3 greater than "130302" as it shown :
10 20 1303252348212B030
20 10 1303242348212B030
40 34 1303252348212B030
10 20 ... (14 Replies)
Hi,
Do anybody know how to print out only those record that column 1 is "a" , then followed by "b"?
Input file :
a comp92 2404242 2405172
b comp92 2405303 2406323
b comp92 2408786 2410278
a comp92 2410271 2410337
a comp87 1239833 1240418
b comp87... (3 Replies)
Hi,
Anybody know how to print out the record that shown smallest number among column 3 and column 4
Case 1 Input :
37170 37196 77 51
37174 37195 73 52
37174 37194 73 53
Case 1 Output :
37170 37196 77 51
Case 2 Input :
469613 469660 73 ... (4 Replies)
Hello....
Pls help me (and sorry my english) :)
So
I have a file (test.txt) with 1 long line.... for example:
isgc jsfh udgf osff 8462 error iwzr 653 idchisfb isfbisfb sihfjfeb isfhsi gcz eifh
How to print after the "error" word the 2nd 4th 5th and 7th word??
output well be:
653 isfbisfb... (2 Replies)
I have an xml file dumped from rrd file, that I want to "patch" so the xml file doesn't contain any blank hole in the resulting graph of the rrd file.
Here is the file.
<!-- 2015-10-12 14:00:00 WIB / 1444633200 --> <row><v> 4.0419731265e+07 </v><v> 4.5045912770e+06... (2 Replies)
Discussion started by: rk4k
2 Replies
LEARN ABOUT DEBIAN
synctex
SYNCTEX(5) BSD File Formats Manual SYNCTEX(5)NAME
synctex -- Synchronize TeXnology help file
DESCRIPTION
Synchronize TeXnology help file (synctexs) are text files that help input/output synchronization during document preparation with the TeX
typesetting system.
BASICS
The structure of this file should not be considered public, in the sense that no one should need to parse its contents, except the synctex
command line utility, and the synctex_parser library. Unless it is absolutely not avoidable, access to the contents of the synctex file
should only be made through requests made to the synctex command line utility.
STRUCTURE
The element structure of a synctex file is a list of text line records as follows. '*', '+', and '?' have their usual EBNF meanings: '*'
means zero or more, '+' means one or more, and '?' means zero or one (i.e., optional).
<SyncTeX> ::= (The whole contents in 4 sections)
<Preamble>
<Content>
<Postamble>
<Post Scriptum>
Each section starts with the first occurrence of a sectioning line, and ends with the next section, if any. In the following definitions, we
do not mention the section ending condition.
The preamble
<Preamble> ::=
"SyncTeX Version:" <Version Number> <EOL>
<Input Line>*
"Magnification:" <TeX magnification> <EOL>
"Unit:" <unit in scaled point> <EOL>
"X Offset:" <horizontal offset in scaled point> <EOL>
"Y Offset:" <vertical offset in scaled point> <EOL>
<Input Line> ::= "Input:" <tag> ":" <File Name> <EOL>
The content
<Content> ::=
<byte offset record>
"Content:" <EOL>
<sheet(1)>
<Input Line>*
<sheet(2)>
<Input Line>*
...
<sheet(N)>
<Input Line>*
<byte offset record> ::= "!" <byte offset> <end of record>
<sheet(n)> ::=
<byte offset record>
"{" <the integer n> <end of record>/
<box content>*
<byte offset record>
"}" <the integer n> <end of record>
The <box content> describes what is inside a box. It is either a vertical or horizontal box, with some records related to glue, kern or math
nodes.
<box content> ::=
<vbox section>|<hbox section>
|<void vbox record>|<void hbox record>
|<current record>|<glue record>|<kern record>|<math record>
<vbox section> ::=
"[" <link> ":" <point> ":" <size> <end of record>
<box content>*
"]" <end of record>
<hbox section> ::=
( <link> ":" <point> ":" <size> <end of record>
<box content>*
")" <end of record>
Void boxes:
<void vbox record> ::= "v" <link> ":" <point> ":" <size> <end of record>
<void hbox record> ::= "h" <link> ":" <point> ":" <size> <end of record>
<size> ::= <Width> "," <Height> "," <Depth>
<Width> ::= <integer>
<Height> ::= <integer>
<Depth> ::= <integer>
<link> ::= <tag> "," <line>( "," <column>)?
<line> ::= <integer>
<column> ::= <integer>
The forthcoming records are basic one liners.
<current record> ::= "x" <link> ":" <point> <end of record>
<kern record> ::= "k" <link> ":" <point> ":" <Width> <end of record>
<glue record> ::= "g" <link> ":" <point> <end of record>
<math record> ::= "$" <link> ":" <point> <end of record>
The postamble
The postamble closes the file If there is no postamble, it means that the typesetting process did not end correctly.
<Postamble>::=
<byte offset record>
"Count:" <Number of records> <EOL>
The post scriptum
The post scriptum contains material possibly added by 3rd parties. It allows to append some transformation (shift and magnify). Typically,
one applies a dvi to pdf filter with offset options and magnification, then he appends the same options to the synctex file, for example
synctex update -o foo.pdf -m 0.486 -x 9472573sp -y 13.3dd source.dvi
<Post Scriptum>::=
<byte offset record>
"Post Scriptum:" <EOL>
"Magnification:" <number> <EOL> (Set additional magnification)
"X Offset:" <dimension> <EOL> (Set horizontal offset)
"Y Offset:" <dimension> <EOL> (Set vertical offset)
This second information will override the offset and magnification previously available in the preamble section. All the numbers are encoded
using the decimal representation with "C" locale.
USAGE
The <current record> is used to compute the visible size of hbox's. The byte offset is an implicit anchor to navigate the synctex file from
sheet to sheet.
Independant Mar 13, 2012 Independant