Поиск по: -
Поискать по всем серверам
На этой странице приведены все страницы, которые ссылаются на http://comet.sai.msu.ru/UNIXhelp/scrpt/scrpt2.4.3.1.html. Показаны документы 1 - 1 из 1.
1. The || operator
. You can use the || operator to execute a command and, if it fails, execute the next command in the command list. For example: cmd1 || cmd2 . cmd1 is executed and its exit status examined. If cmd1 fails then cmd2 is executed. This is a terse notation for: cmd1 if test $? -ne 0 then cmd2 fi . Example .
[
Сохраненная копия
]
Ссылки http://comet.sai.msu.ru/UNIXhelp/scrpt/scrpt2.4.3.html -- 2.1 Кб -- 17.01.1997
Похожие документы
Похожие документы