[mythtv-users] VHS Digitizing

Steve Herber herber at thing.com
Wed Aug 19 01:33:13 UTC 2009


True and false were created so you could say:

while `true`
do
 	echo whatever $?
 	sleep 1
done

Try cutting and pasting these, one at a time:

while `true`; do echo whatever $?; sleep 1; done

while `false`; do echo whatever $?; sleep 1; done


-- 
Steve Herber	herber at thing.com		work: 206-221-7262
Software Engineer, UW Medicine, IT Services	home: 425-454-2399

On Wed, 19 Aug 2009, Johan Heikkilä wrote:

> 2009/8/18 David Brodbeck <gull at gull.us>:
>> H P Ladds wrote:
>>>
>>> Mind explaining what the /bin/true does? Might it tell MythTV to wait
>>> for external change commands and ignore Myth's internal commands?
>>
>> /bin/true is a program that does nothing and returns a successful exit code.
>>  So nothing happens but Myth believes the channel change succeeded.  Its
>> opposite counterpart is /bin/false.
>>
>> The man pages put it more succinctly:
>>
>> "true - do nothing, successfully"
>>
>> "false - do nothing, unsuccessfully"
>>
>
> The obligatory.
>
> True in a Nutshell
>
> http://www.miketaylor.org.uk/tech/oreilly/truenut.html
>
>
> :-)
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>


More information about the mythtv-users mailing list