FC1 vs FC2 vs FC3

Michael A. Peters mpeters at mac.com
Fri Jan 14 02:38:38 UTC 2005


On 01/13/2005 01:37:09 PM, Rudi Chiarito wrote:
> On Thu, Jan 13, 2005 at 09:55:26PM +0100, André Kelpe wrote:
> > cut -d ' ' -f4 /etc/fedora-release
> 
> Needless use of an external binary!
> With bash:
> 
> VER=($(< /etc/fedora-release))
> 
> You can now just use array element VER[3]:
> 
>   echo ${VER[3]}
> 
> or
> 
>   VER=${VER[3]}
> 
> --
> Rudi
>

That should be ported to c for performance. ;)





More information about the fedora-devel-list mailing list