Afficher un message
Vieux 26/04/2007, 21h10   #3
Warren Block
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: if [ $row > 0 ]; then : ; else.... What that means?

Bill Marcum <marcumbill@bellsouth.net> wrote:
> On 26 Apr 2007 10:22:16 -0700, lazyboy_2k@yahoo.com
> <lazyboy_2k@yahoo.com> wrote:
>>
>>
>> Hi,
>>
>> I'm looking at a internal script & see this below if statement but I
>> don't understand it. Could someone please explain what it means if
>> you don't mind?
>>
>> #!/bin/ksh
>>
>> row=0
>> if [ $row > 0 ]
>> then
>> : # note I don't understand what " : " notation
>> actually does & means

> : means "do nothing".


Likewise with row=0 followed by 'if [ $row > 0 ]'.

--
Warren Block * Rapid City, South Dakota * USA
  Réponse avec citation
 
Page generated in 0,06861 seconds with 9 queries