From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mta08-winn.ispmail.ntl.com ([81.103.221.48] helo=mtaout02-winn.ispmail.ntl.com) by speech.braille.uwo.ca with esmtp (Exim 3.36 #1 (Debian)) id 1FXNKj-0007sN-00 for ; Sat, 22 Apr 2006 14:59:53 -0400 Received: from aamtaout04-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com with ESMTP id <20060422185922.CTED29040.mtaout02-winn.ispmail.ntl.com@aamtaout04-winn.ispmail.ntl.com> for ; Sat, 22 Apr 2006 19:59:22 +0100 Received: from sparky ([86.20.72.172]) by aamtaout04-winn.ispmail.ntl.com with SMTP id <20060422185921.QWQG16086.aamtaout04-winn.ispmail.ntl.com@sparky> for ; Sat, 22 Apr 2006 19:59:21 +0100 Message-ID: <005f01c6663e$e093dcb0$1d02a8c0@sparky> From: "Chris Norman" To: "Speakup is a screen review system for Linux." Subject: IF Help Date: Sat, 22 Apr 2006 19:59:24 +0100 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.8rc1 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 18:59:53 -0000 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