IF Help

Georgina Joyce gena at genaj.plus.com
Sat Apr 22 19:03:52 EDT 2006


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
> <!-- chris.norman4 at ntlworld.com -->
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 
---end quoted text---

-- 
2E0AXU

Freedom & Power provided by debian GNU Linux




More information about the Speakup mailing list