Hello ,
I need your help to extract a line in a big file , and this line is always 11 lines
before a specific pattern . Do you know a way via Awk ?
Thanks in advance
npn35 (17 Replies)
Gents,
from these sample lines:
ZUCR.MI ZUCCHI SPA RISP NC 2,5000 6 ott 0,0000
ZV.MI ZIGNAGO VETRO 3,6475 16:36 Up 0,0075
is it possible to get this:
ZUCR.MI 2,5000
ZV.MI 3,6475
i.e. the first field, a separator and the first decimal number?
(in Europe we... (9 Replies)
Hi,
the text line looks like this:
"test1" " " "test2" "test3" "test4" "10" "test 10 12" "00:05:58" "filename.bin" "3.3MB" "/dir/name" "18459"
what's the best way to select any of it? So I can for example get only the time or size and so on.
I was trying awk -F""" '{print $N}' but... (3 Replies)
This is my first post, please be nice. I have tried to google and read different tutorials.
The task at hand is:
Input file input.txt (example)
abc123defhij-E-1234jslo
456ujs-W-abXjklp
From this file the task is to grep the -E- and -W- strings that are unique and write a new file... (5 Replies)
Hi All,
I am trying to extract data from a large text file , I want to extract lines which contains a five digit number followed by a hyphen , like
12345- , i tried with egrep ,eg : egrep "+" text.txt
but which returns all the lines which contains any number of digits followed by hyhen ,... (19 Replies)
FOLKS ,
i have a text file that is generated automatically of an another korn shell script, i want to bring in the fifth line of the text file in to my korn shell script and look for a particular word in the line . Can you all share some thoughts on this one.
thanks...
Venu (3 Replies)
I have hundreds of files to process. In each file
I need to look for a pattern then
extract value(s) from next line and then
search for value(s) selected from point (2) in the same file at a specific position.
HEADER ELECTRON TRANSPORT 18-MAR-98 1A7V
TITLE CYTOCHROME... (7 Replies)
Hi
This is my first post and I'm just a beginner. So please be nice to me.
I have a couple of html files where a pattern beginning with "http://www.site.com" and ending with "/resource.dat" is present on every 241st line. How do I extract this to a new text file?
I have tried sed -n 241,241p... (13 Replies)
Hi
I have a big text file. I want to extract all the sentences that matches at least 70% (seventy percent) of the words from each sentence based on a word list called A.
Say the format of the text file is as given below:
This is the first sentence which consists of fifteen words... (4 Replies)
Hi all,
I got a txt here and I need to extract all D 8888 44 and D 8888 43 + next field
=",g("en")];f._sn&&(f._sn= "og."+f._sn);for(var n in f)l.push("&"),l.push(g(n)),l.push("="),l.push(g(f));l.push("&emsg=");l.push(g(d.name+":"+d.message));var m=l.join("");Ea(m)&&(m=m.substr(0,2E3));c=m;var... (5 Replies)
Discussion started by: stinkefisch
5 Replies
LEARN ABOUT DEBIAN
efte
eFTE(1) General Commands Manual eFTE(1)NAME
efte - Text editor
SYNOPSIS
efte [[options] files ...]
vefte [[options] files ...]
nefte [[options] files ...]
DESCRIPTION
This manual page documents briefly the efte.
This manual page was written for the Debian GNU/Linux distribution (but may be used by others), because the original program does not have
a manual page. Instead, it has documentation in html format; see below.
efte is a powerful text editor which closely resembles Borlands programming editors for M$-DOS, but is far more flexible and configurable.
OPTIONS
efte uses a command line syntax, which is a little bit different from most of Debian GNU/Linux apps.
-h -? --help
Help on command line options.
-! Ignore any external configuration file and use internal configuration.
-l<line>[,<column>]
Go to line (and column) in next file on command line.
-#<line>[<,column>]
Same as -l. Do not use this option.
-m[<mode>]
Set mode for next files to <mode>. If just plain -m, then use default mode.
-C[<.cnf>]
Use specified configuration file (compiled). Plain -C does the same as -!.
-D[<.dsk>]
Load/save desktop from file <.dsk>. If no argument, disable desktop load/save.
-H[<.his>]
Load/save history from file <.his>. If no argument, disable history load/save.
-T<tagfile>
Load 'tagfile' at startup.
-t<tag>
Lookup tag 'tag' and display file containing it.
-- The rest of the arguments are not options, but filenames.
-+ The next argument is not an option even if starting with a '-'. Useful when loading files that begin with a -.
-noxmb Do not use XMB functions in xefte - useful if you have incorrect locales and you want to use just english fonts.
-font Select XWindow font to use with xefte. See VIOFONT also.
ENVIRONMENTAL VARIABLES
This is list of variable which might change behavior of some internals of efte.
VIOFONT - select font used by xefte
ISOCONSOLE - when set, vefte is usign ascii symbols to draw tables. This is useful when iso latin charset is used on console.
EXAMPLES
efte -mBIN /usr/bin/vefte
load /usr/bin/vefte in BIN mode
efte -mBIN -+ -bla-
load file -bla- in BIN mode
efte -l100,30 win.c
go to (100,30) in win.c
efte window.cpp
load file window.cpp
efte -- -1 -2 -3 -4 -5 -6
load files -1, -2, -3, -4, -5, -6
efte -D -H efte.dsk efte.his
disable desktop and history loading and saving and load files efte.dsk and efte.his
FILES
~/.efterc
/usr/local/etc/efte/system.fterc
/etc/efte/system.fterc
Default configuration files. Includes all keybindings and menus compiled with cefte(1) from config files in /usr/share/doc/efte/config-
example.tar.gz.
SEE ALSO cefte(1), /usr/share/doc/efte/contents.html
AUTHORS
This manual page was written by Riku Voipio and Zdenek Kabelac <riku.voipio@iki.fi> <kabi@debian.org> for the Debian GNU/Linux system.
DATE
18 Nov 1999
eFTE(1)