Re: update software
- From: Brad Bonkoski <bbonkoski@xxxxxxxxxxxxxx>
- Date: Mon, 31 Jul 2006 15:36:54 -0400
#!/bin/bash
FILE="abc.2.3.tagr.gz"
echo $FILE | cut -f 2,3 -d.
(will output the version)
Of course this is making A LOT of assumptions on file format and such....
as long as your files are of the format <package_name>.<major_num>.<minor_num>.<extension>
-B
Waqas Toor wrote:
to be honest i use fedora but the script to write is purely distro independent..
so
if
wget abc.2.3.tar.gz .... how to check 2.3. part in this string in
bash.. as its the requirement
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- References:
- update software
- From: Waqas Toor
- Re: update software
- From: Thom Paine
- Re: update software
- From: Waqas Toor
- update software
- Prev by Date: Re: update software
- Next by Date: Re: update software
- Previous by thread: Re: update software
- Next by thread: Re: update software
- Index(es):