Hi,
I need to filter the output of a command and display omitting the first 6 lines and the last two lines..How can i do this using awk.
command | awk ' NR > 7' will omitt the first 6 lines but dont know how to omit the last two lines.. can anyone help? (3 Replies)
Hi Everyone , have a nice
i would need a little help on this
i have file which contains blocks such as given below
<hgsdp:msisdn=923228719047,loc;
HLR SUBSCRIBER DATA
SUBSCRIBER IDENTITY
MSISDN IMSI STATE AUTHD
923228719047 410072110070614 CONNECTED ... (3 Replies)
Hi,
I have few sentences here.
$a1="Division of Hematology-Oncology, and Stem cell transplantation, Schneider Childrens Hospital, Albert Einstein College of Medicine, New Hyde Park, New York. ";
$a2="Department of Cell Biology and Anatomy, College of Medicine, National Cheng Kung... (3 Replies)
Hi,
I have an application log file and I am redirecting it to syslog
...| logger -p user.err
Howver, the size redirected is too arge and I am seeking a way to filter what to redirect to syslog.
any mean to do this, knowing that I do not want to decrease the log level of the app?
... (1 Reply)
Hi all,
Can you please let me know how to achieve the below thing
AAABBCC@#$W123
123@#$DFG<>.
Output:
AAABBCW123
123DFG
i.e I want to filer only alphanumerics from the strings (4 Replies)
hi all,
here is my question.
i have the following data
Block 1
a b c
d e f
g h i
Block 2
j k l
m n o
p q r
i need to grep all information from block 1 i.e 'a to i' (6 Replies)
Hello,
i have Solaris 10,
is it possible to somehow limit remote access, via ssh for example ,
for only specific IP adresses , so when someone with IP that is not
allowed can't connect via putty or something like that ? (2 Replies)
Hi,
I have a long log file. Out of which I want to filter particular occurrences where APC=4-033-0.
Please help how it can be done.
Input :
+++ ELEMENT 12-05-27 23:15:06 CC 3482 #040185 >
REPT APB TPE=C7NTL SM=22 OPC=4-003-7 APC=4-033-4 inaccessible
END OF REPORT #040185 ++-
... (7 Replies)
Hi Folks,
I have a text file with lots of rows with duplicates in the first column, i want to filter out records based on filter columns in a different filter text file.
bash scripting is what i need.
Data.txt
Name OrderID Quantity
Sam 123 300
Jay 342 498
Kev 78 2500
Sam 420 50
Vic 10... (3 Replies)
Discussion started by: tech_frk
3 Replies
LEARN ABOUT DEBIAN
mecab
MECAB(1) MeCab MECAB(1)NAME
mecab - Yet Another Part-of-Speech and Morphological Analyzer
SYNOPSIS
mecab [options] files
DESCRIPTION
MeCab: Yet Another Part-of-Speech and Morphological Analyzer
Copyright(C) 2001-2008 Taku Kudo Copyright(C) 2004-2008 Nippon Telegraph and Telephone Corporation
-r, --rcfile=FILE
use FILE as resource file
-d, --dicdir=DIR
set DIR as a system dicdir
-u, --userdic=FILE
use FILE as a user dictionary
-l, --lattice-level=INT
lattice information level (default 0)
-D, --dictionary-info
show dictionary information and exit
-a, --all-morphs
output all morphs(default false)
-O, --output-format-type=TYPE
set output format type (wakati,none,...)
-p, --partial
partial parsing mode
-F, --node-format=STR
use STR as the user-defined node format
-U, --unk-format=STR
use STR as the user-defined unk format
-B, --bos-format=STR
use STR as the user-defined bos format
-E, --eos-format=STR
use STR as the user-defined eos format
-x, --unk-feature=STR
use STR as the feature for unknown word
-b, --input-buffer-size=INT
set input buffer size (default 8192)
-P, --dump-config
dump MeCab parameters
-M, --open-mutable-dictionary
open dictioanry with mutable mode (experimental)
-C, --allocate-sentence
allocate new memory for input sentence
-N, --nbest=INT
output N best results (default 1)
-t, --theta=FLOAT
set temparature parameter theta (default 0.75)
-c, --cost-factor=INT
set cost factor (default 700)
-o, --output=FILE
set the output file name
-v, --version
show the version and exit.
-h, --help
show this help and exit.
mecab of 0.98pre1 March 2009 MECAB(1)