On 09/22/2010 11:20 AM, Steve Edwards wrote:
> On Wed, 22 Sep 2010, Jose P. Espinal wrote:
> 
>> If you are using a script you could get the version with something like:
>>
>> tar -tf asterisk-1.4-current.tar.gz | head -n1
> 
> You need a '-z' in there.

Modern versions of 'tar' auto-detect gzip and bzip compression :-)

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: kflem...@digium.com
Check us out at www.digium.com & www.asterisk.org

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to