Sponsored Content
Operating Systems Solaris How to find egrep version on Solaris 10 Post 94930 by kiranherekar on Wednesday 4th of January 2006 09:34:27 PM
Old 01-04-2006
Hi ,
Just Ice,Thanks for your reply.I found my egrep version to be VERSION:11.10.0 on my Solaris 10 Box.But would anyone help me if I can have -A option with egrep coz this option is supported on linux egrep (GNU grep) version 2.5.1 or is there any other option on Solaris that would give me similar results.

Thanks & Regards,
Kiran.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How do I find Unix Version

I am extremely new here. Someone wants to upgrade off of Unix to Windows 2000 and wants to know if they need to buy new hardware How do I find out what type of Unix they're using? How do I find out the current hardware of the system? (Intel, ..etc) Thanks (3 Replies)
Discussion started by: tomsha
3 Replies

2. UNIX for Dummies Questions & Answers

How do I find out what version of X I'm using?

How can I find out? Besides looking on the box of my distro and checking their. (2 Replies)
Discussion started by: DISTURBED
2 Replies

3. UNIX for Dummies Questions & Answers

Find Software Version

Hi, Is there anyway to find what version of a software is installed on a particular box ? For Tru64 unix, the setld -i command lists all the software that is installed. But how do i get the version ? is there a unix command for this? Is setld specific to Tru64 ? Do reply VJ (1 Reply)
Discussion started by: vjsony
1 Replies

4. UNIX for Dummies Questions & Answers

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 (2 Replies)
Discussion started by: leelm
2 Replies

5. Solaris

what is the command to see the java version in solaris 8 and solaris 10

what is the command to see the java version in solaris 8 and solaris 10 (1 Reply)
Discussion started by: tv.praveenkumar
1 Replies

6. Shell Programming and Scripting

egrep help required to find pattern

Hi All, Can some one please help me how to grep the comments from "oracle" & "sybase" code. I would like to grep below type of pattern. -- /* */ Please help. (6 Replies)
Discussion started by: gr8_usk
6 Replies

7. Shell Programming and Scripting

Egrep ERE to find null

Hello All, My apologies if a similar question has already been posted. I searched for "grep", "egrep" and "null" I'm having an issue with egrep and an extended regular expression. I'm doing a test for a job name. I would like to have the user enter a job name with no spaces and also test to... (7 Replies)
Discussion started by: sydox
7 Replies

8. Solaris

How to read this Solaris version:-Solaris 8 HW 5/03 s28s_hw2wos_06a SPARC?

Hi Guys, Could you please tell me how to read this Solaris version:- Solaris 8 HW 5/03 s28s_hw2wos_06a SPARC Thanks. (3 Replies)
Discussion started by: manalisharmabe
3 Replies

9. Shell Programming and Scripting

Egrep on Solaris

how can I implement egrep -A 1 "(HI|FR|GO|TAT)" in solaris? (5 Replies)
Discussion started by: aydj
5 Replies

10. UNIX for Beginners Questions & Answers

Egrep find word that occurs twice in a row

Hi there I am trying to figure out and understand what the syntax would be to egrep lines that have a word occur twice in a row. the two words obviously should have a space between them and also it has to be case sensitive which I believe grep is by deffault. the closest I have come is... grep... (7 Replies)
Discussion started by: spo_2138
7 Replies
EXIFGREP(1)						      General Commands Manual						       EXIFGREP(1)

NAME
exifgrep - select and reformat the output of exifprobe SYNOPSIS
exifgrep [options] [egrep_options] egrep_pattern [NOT egrep-pattern] filename(s) DESCRIPTION
Exifgrep is a shell script which applies egrep(1) to the output of exifprobe -L, permitting easy selection and minor reformatting of output items. exifprobe is small, fast, and utterly sycophantic in its desire to report everything it finds in an image. exifgrep applies the regular expression matching capabilities of egrep to the output barrage to extract only wanted information. exifgrep also performs a mild form of selection on the output fields of exifprobe -L. Many items reported by exifprobe are represented in the image file by a number which compactly represents a defined value. E.g. exifprobe -L may report TIFF.Ifd1.ResolutionUnit = 2 = 'pixels per inch' where the value "2" must be interpreted to mean that resolution values (TIFF.IFd1.Xresolution and IFF.IFd1.YResolution) are recorded in pixels per inch, rather than, say, pixels per centimeter. exifprobe reports both fields; exifprobe may also report interpreted values for items which are recorded in unfamiliar units, such as JPEG.APP1.Ifd0.Exif.FNumber = 5.6 APEX = 'f7.0' In all such cases, exifgrep reports (by default) only the "human readable" field: TIFF.Ifd1.ResolutionUnit = 'pixels per inch' JPEG.APP1.Ifd0.Exif.FNumber = 'f7.0' unless the "-num" option is given to select the numerical value. In addition, a `variable' format may be selected ("-var") which eliminates whitespace, providing a format which typical shells may use directly to set variables for further processing. E.g. TIFF.Ifd1.ResolutionUnit='pixels per inch' JPEG.APP1.Ifd0.Exif.FNumber='f7.0' OPTIONS
-r file arguments may be directories, which will be searched via find for all image types recognized by exifprobe. -n force exifprobe to print a filename for each line of its output, which exifgrep will turn into a comment at the end of each matching line. -t force exifprobe to print tag numbers for all itemes that have them, so that matches may be made on hex or decimal tag numbers. -c turn on color output from exifprobe -h print a usage message (help) -var report in "variable" format, which may be directly `sourced' by any Bourne-compatible shell (except that most shells will insist that the dots must be replaced, e.g. by underscores). -export report in "variable" format, but with a Bourne-compatible export command -num report numerical values rather than interpreted strings, for fields which have both. NOTE: the -var and -export options are obsolescent; they are retained for compatibility with earlier versions of exifprobe. A post-proces- sor such as reformat.sh may be more effective for the current version if shell-compatible output is desired. Any option not recognized by the script will be passed on to egrep. The first non-option argument will be used as the pattern passed to egrep. This may be followed by the keyword NOT and an expression rep- resenting matches to be rejected. This pattern will be passed to egrep -v. Only one argument of each type may be given, and the "accept" expression (if given) must appear before the "reject" expression. All remaining arguments are interpreted as image filenames. SEE ALSO
exifprobe(1) AUTHOR
Duane H. Hesser dhh@virtual-cafe.com LOCAL EXIFGREP(1)
All times are GMT -4. The time now is 01:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy