Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Advanced Bash Shell Scripting Gude.pdf
Скачиваний:
57
Добавлен:
17.08.2013
Размер:
4.82 Mб
Скачать

Tests

 

Advanced Bash-Scripting Guide:

Prev

Next

Chapter 7. Tests

Table of Contents

7.1.Test Constructs

7.2.File test operators

7.3.Comparison operators (binary)

7.4.Nested if/then Condition Tests

7.5.Testing Your Knowledge of Tests

Every reasonably complete programming language can test for a condition, then act according to the result of the test. Bash has the test command, various bracket and parenthesis operators, and the if/then construct.

Prev

Home

Next

Quoting

Up

Test Constructs

http://tldp.org/LDP/abs/html/tests.html [7/15/2002 6:34:28 PM]

Operations and Related Topics

 

Advanced Bash-Scripting Guide:

Prev

Next

Chapter 8. Operations and Related

Topics

Table of Contents

8.1.Operators

8.2.Numerical Constants

Prev

Home

Next

Testing Your Knowledge of

Up

Operators

Tests

 

 

http://tldp.org/LDP/abs/html/operations.html [7/15/2002 6:34:29 PM]