How to check tar version in Solaris?

UNIX for Beginners Questions & Answers




Kindly Note - This is a Single User Post by Forum Member gull04 Regarding:
How to check tar version in Solaris?.
Please Follow The Primary Link Above to View the Full Discussion.

   
Old 12-07-2017
gull04 gull04 is offline Forum Advisor  
Registered User
 
Hi,

I tend to be a little less discerning when searching through a pkginfo output as I've been caught out by things in the past.

What I tend to use is a search as follows, a bit more work to check but it does check if the package might impact things.

Code:
pkginfo -l | nawk 'BEGIN { FS = "\n"; RS = "" }$0 ~ search { print $0 }' search=tar - | egrep 'PKGINST|VERSION'

Regards

Gull04

Last edited by gull04; 12-07-2017 at 06:11 AM.. Reason: Spelling Mistake