01-11-2008
Egrep cheat sheet anywhere? Looking for meaning of egrep -c
Hi I've been searching google and have not found what egrep -c means. Does anyone know where I can get a cheat sheet or what that -c means?
thanks,
Linda
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
How can i make something like
if (echo "$arg2" | egrep -s '^+\.+km/h+$|^+km/h+$'); then
not to output the value of $arg2 on the screen, evertime i get match it outputs the value of the variable on the screen which i don't need to do. I know for grep its -q option but it doesn't work for egrep.... (2 Replies)
Discussion started by: Vozx
2 Replies
2. UNIX for Dummies Questions & Answers
I have a file called alert.log containing the following:
WARNING: received KRVX_OPER_CANNOT_SUPPORT
knlldmm: gdbnm=CROOP
knlldmm: objn=23793
knlldmm: objv=1
knlldmm: scn=5189816456
knllgobjinfo: MISSING Streams multi-version data dictionary!!!
knlldmm: gdbnm=FDROP
knlldmm: objn=49385... (9 Replies)
Discussion started by: akDBA
9 Replies
3. Shell Programming and Scripting
Hi,
I don't understand what is the correct way of writing:
egrep -l '{$min,$max} $pattern' $filename
I tryed to search on google how to wtrite {$min, $max}, but I don't have success (7 Replies)
Discussion started by: DNAx86
7 Replies
4. Shell Programming and Scripting
Hi there,
Im having some issues using egrep, I have a text file containing server logs:
the user imputs 2 arguments, which are error checked and made into $searchMonth $searchYear respectivley.
I then do the grep command:
egrep /$searchMonth/ $file | egrep /$searchYear: | wc -l
... (1 Reply)
Discussion started by: Darklight
1 Replies
5. UNIX for Dummies Questions & Answers
Hi Guys,
we have a shell script which basically query the Database which retrieves huge data and use the data with "egrep" .
Now there is some data which contains characters like "abc)" and the same is used like below :
"egrep (.+\|GDPRAB16\|GDPR/11702 96 abc)\|$ temp.txt"
now while... (7 Replies)
Discussion started by: sagarjani
7 Replies
6. UNIX for Dummies Questions & Answers
Where can I get sed and awk cheat sheet ? Need to look for usage of special charaters and meta charaters (1 Reply)
Discussion started by: pitagi
1 Replies
7. Shell Programming and Scripting
Hi,
I need to search for a exact word in a file and I have a list of allowable values in a list file. I search something like this using egrep -f option:
>egrep -f list.txt data.txt
New
New York
NewYork
>
list.txt file has the allowable value for search and this file can be edited to... (5 Replies)
Discussion started by: calredd
5 Replies
8. What is on Your Mind?
https://www.unix.com/members/neo-albums-forum-pics-picture523-vi-vim-cheat-sheet.jpg (1 Reply)
Discussion started by: Neo
1 Replies
9. Shell Programming and Scripting
Hi
I am trying to run CMD that combining EGREP and PERL in multiple files
cat *07:00.22-12-13.txt | egrep" NAME| perl -ne 'print if /^sid9/ .. /^!/' "
I need the see the NAME and the text from sid9 to !
how can I use the EGERP in parallel to the PERL ?
This is one file
Qqq... (2 Replies)
Discussion started by: sharong
2 Replies
LEARN ABOUT DEBIAN
otl2html
otl2html(1) General Commands Manual otl2html(1)
NAME
otl2html - converts vimoutliner outline to HTML
SYNOPSIS
otl2html [filename]
DESCRIPTION
This manual page documents briefly the otl2html Python script.
otl2html is a is a python(1) script that converts a vimoutliner(1) outline to HTML.
otl2html script called just with filename of the processed outline will produce HTML document on standard output.
OPTIONS
-p Presentation: slide show output for use with HtmlSlides.
-D First-level is divisions (<div> </div>) for making pretty web pages.
-s sheet Use the specified style sheet with a link.
-S sheet Include the specified style sheet in-line the output. For encapsulated style.
-T The first line is not the title. Treat it as outline data
-c Hide comments (line with [ as the first non-whitespace character. Ending with ] is optional.
-C copyright Override the internal copyright notice with the one supplied in the quoted string following this flag. Single or double
quotes can be used.
-v Print version (RCS) information.
-H Show the file syntax help.
SEE ALSO
vim(1), python(1)
AUTHOR
This manual page was written by Matej Cepl <matej@ceplovi.cz>, for the Debian GNU/Linux system (but may be used by others).
March 5, 2005 otl2html(1)