From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ptb-relay02.plus.net ([212.159.14.213]) by speech.braille.uwo.ca with esmtp (Exim 3.36 #1 (Debian)) id 1FXR1W-0001rY-00 for ; Sat, 22 Apr 2006 18:56:18 -0400 Received: from [84.92.191.40] (helo=orchid.perfumed-bath.co.uk) by ptb-relay02.plus.net with esmtp (Exim) id 1FXR0w-0000EP-Po for speakup@braille.uwo.ca; Sat, 22 Apr 2006 23:55:43 +0100 Received: from gena by orchid.perfumed-bath.co.uk with local (Exim 4.61) (envelope-from ) id 1FXR8q-0000ee-Tj for speakup@braille.uwo.ca; Sun, 23 Apr 2006 00:03:52 +0100 Date: Sun, 23 Apr 2006 00:03:52 +0100 From: Georgina Joyce To: "Speakup is a screen review system for Linux." Subject: Re: IF Help Message-ID: <20060422230352.GC2429@genaj.plus.com> References: <005f01c6663e$e093dcb0$1d02a8c0@sparky> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <005f01c6663e$e093dcb0$1d02a8c0@sparky> User-Agent: Mutt/1.5.11+cvs20060403 X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.8rc1 Precedence: list Reply-To: "Speakup is a screen review system for Linux." List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Apr 2006 22:56:18 -0000 Hi As it is bash scripting, just type at your prompt "help if". Looks like we're on our own in trying to do these little jobs. Gena On Sat, Apr 22, 2006 at 07:59:24PM +0100, Chris Norman wrote: > Hi people, > I want to use the if command, but can't find any manual page for it. > > I want to use it to run a command, and at present, I have: > > if date -r $file +%V -lt $number; then > #statements > fi > > But it won't work. > > $file is a filename. How do I do this? > > Cheers, > > Chris Norman > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup > ---end quoted text--- -- 2E0AXU Freedom & Power provided by debian GNU Linux