[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: FC1 vs FC2 vs FC3
- From: Rudi Chiarito <nutello sweetness com>
- To: Development discussions related to Fedora Core <fedora-devel-list redhat com>
- Subject: Re: FC1 vs FC2 vs FC3
- Date: Thu, 13 Jan 2005 22:37:09 +0100
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]