sm-grimoire AT lists.ibiblio.org
Subject: Discussion of Spells and Grimoire items
List archive
- From: Ladislav Hagara <hgr AT vabo.cz>
- Cc: sm-grimoire AT lists.ibiblio.org
- Subject: Re: [SM-Grimoire] j2sdk-1.4.2
- Date: Wed, 29 Oct 2003 11:28:55 +0100
> > if [ $(cat /proc/meminfo | grep Swap: | cut -d" " -f4) -gt "1900000000" ]
> > ;
> >
> > if [ $(cat /proc/meminfo | grep Swap: | cut -d" " -f6) -gt "1900000000" ]
> > ;
>
> And I get an error if i change that cut line to -f6.
> In fact my swap line only has 4 fields ?
> $ cat /proc/meminfo | grep Swap:
> Swap: 2023407616 476065792 1547341824
> Can you paste the whole output of cat /proc/meminfo so I can see the
> difference ?
Swap line in /proc/cpuinfo probably can contains different number of spaces.
You must ensure only single occurrence of space (-d " "), "tr" can help.
cat /proc/meminfo | grep Swap: | tr -s " " ...
- lace -
-
Re: [SM-Grimoire] j2sdk-1.4.2
, (continued)
-
Re: [SM-Grimoire] j2sdk-1.4.2,
Hamish Greig, 10/25/2003
-
Re: [SM-Grimoire] j2sdk-1.4.2,
Hamish Greig, 10/25/2003
-
Re: [SM-Grimoire] j2sdk-1.4.2,
Craig Dyke, 10/26/2003
-
Re: [SM-Grimoire] j2sdk-1.4.2,
Hamish Greig, 10/26/2003
-
Re: [SM-Grimoire] j2sdk-1.4.2,
Hamish Greig, 10/26/2003
-
Re: [SM-Grimoire] j2sdk-1.4.2,
Hamish Greig, 10/26/2003
- Re: [SM-Grimoire] j2sdk-1.4.2, Craig Dyke, 10/27/2003
- Re: [SM-Grimoire] j2sdk-1.4.2, Hamish Greig, 10/27/2003
- Re: [SM-Grimoire] j2sdk-1.4.2, Craig Dyke, 10/28/2003
- Re: [SM-Grimoire] j2sdk-1.4.2, Hamish Greig, 10/28/2003
- Re: [SM-Grimoire] j2sdk-1.4.2, Ladislav Hagara, 10/29/2003
- Re: [SM-Grimoire] j2sdk-1.4.2, Hamish Greig, 10/29/2003
-
Re: [SM-Grimoire] j2sdk-1.4.2,
Hamish Greig, 10/26/2003
-
Re: [SM-Grimoire] j2sdk-1.4.2,
Hamish Greig, 10/26/2003
-
Re: [SM-Grimoire] j2sdk-1.4.2,
Hamish Greig, 10/26/2003
-
Re: [SM-Grimoire] j2sdk-1.4.2,
Craig Dyke, 10/26/2003
-
Re: [SM-Grimoire] j2sdk-1.4.2,
Hamish Greig, 10/25/2003
-
Re: [SM-Grimoire] j2sdk-1.4.2,
Hamish Greig, 10/25/2003
Archive powered by MHonArc 2.6.24.