Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Egrep cheat sheet anywhere? Looking for meaning of egrep -c Post 302157636 by leelm on Friday 11th of January 2008 02:37:14 PM
Old 01-11-2008
Thank you!!!
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

egrep help

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

help with egrep

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

egrep

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

egrep help

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

search ")" with egrep - egrep: syntax error

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

sed and awk cheat sheet

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

Help with egrep

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?

vi/vim "cheat sheet"

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

Egrep

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
FRONTEND-SPEC(7)														  FRONTEND-SPEC(7)

NAME
frontend-spec - interface between jw and its frontends DESCRIPTION
jw(1) calls frontends like frontends/docbook to get the informations specific to a given input format. The frontend knows which information to return from the first command line parameter. It gets all necessary data via environment variables ready to use. This document describes that command line parameter and those environment variables. The frontend should return 0 if there weren't any problem, and return a positive value otherwise. VARIABLES
$1 The command line parameter, specifying which information to return. It can take the following values: centralized-catalog The frontend must return the DTD-specific centralized catalog name. Centralized catalogs normally reside in /etc/sgml and provide the location of all the catalog files useful for handling this input type (the catalog for the DTD, the catalog for the stylesheets, the catalog for the entities, ...) style-sheet The frontend must return the filename of the style sheet to be used for this document type and with the chosen backend. SGML_CATALOGS_DIR The directory where the centralized catalogs reside. It is normally /etc/sgml. (This variable is valid only while determining the centralized catalog to use.) SGML_BASE_DIR The base directory of the SGML system. It is normally /usr/share/sgml. (This variable is valid only while determining the style sheet to use.) SGML_FILE The name of the file to convert. (This variable is valid only while determining the centralized catalog to use.) SGML_TYPE The type of the backend to use, whether it produces output files to be displayed online or to be printed out. It can take the value html or print. (This variable is valid only while determining the style sheet to use). SGML_STYLESHEETS The desired custom stylesheet type, either none or default. If none, the frontend must return the file name of the style sheet pro- vided by the system beneath the docbook-utils. If default, the frontend must return the custom stylesheet provided by the docbook- utils. (This variable is valid only while determining the style sheet to use). SGML_XML The metalanguage of the file to convert, either sgml or xml. (This variable is valid only while determining the centralized catalog to use). FILES
SEE ALSO
backend-spec(7) AUTHORS
Jochem Huhmann <joh@revier.com> 05 February 2003 FRONTEND-SPEC(7)
All times are GMT -4. The time now is 03:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy