IF Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux