From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ip15.shellworld.net ([64.49.204.174] helo=server2.shellworld.net ident=root) by speech.braille.uwo.ca with esmtp (Exim 3.36 #1 (Debian)) id 1FXWYB-0005Hm-00 for ; Sun, 23 Apr 2006 00:50:23 -0400 Received: from amelia.freedomchat.org (d201.as1.dytn.oh.core.com [207.90.102.202]) by server2.shellworld.net (8.13.1/8.12.8) with ESMTP id k3N4oMcL015040 for ; Sun, 23 Apr 2006 04:50:22 GMT (envelope-from ace@freedomchat.org) Message-Id: <7.0.1.0.0.20060423004940.07a937b8@freedomchat.org> X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Date: Sun, 23 Apr 2006 00:50:21 -0400 To: "Speakup is a screen review system for Linux." From: ace Subject: Re: IF Help In-Reply-To: <20060422230352.GC2429@genaj.plus.com> References: <005f01c6663e$e093dcb0$1d02a8c0@sparky> <20060422230352.GC2429@genaj.plus.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed 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: Sun, 23 Apr 2006 04:50:24 -0000 there is also a good shell programmers' tutorial at www.blindprogramming.com under the UNIX section, I think. At 07:03 PM 4/22/2006, you wrote: >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 > >_______________________________________________ >Speakup mailing list >Speakup@braille.uwo.ca >http://speech.braille.uwo.ca/mailman/listinfo/speakup