Вход на сайт
интерактивный скрипт, опять прошу помочь...
1097 просмотров
Перейти к просмотру всей ветки
BSDLamer Хвостатый Carpal Tunnel
в ответ Regenwolke 22.05.12 13:07
Weak quoting
Inside a weak-quoted string there's no special interpretion of:
spaces as word-separators (on inital commandline splitting and on word splitting!)
single-quotes to introduce strong-quoting (see below)
characters for pattern matching
pathname expansion
process substitution
Everything else, especially parameter expansion, is performed!
ls -l "*"
Will not be expanded. ls gets the literal * as argument. It will, unless you have a file named *, spit out an error.
Inside a weak-quoted string there's no special interpretion of:
spaces as word-separators (on inital commandline splitting and on word splitting!)
single-quotes to introduce strong-quoting (see below)
characters for pattern matching
pathname expansion
process substitution
Everything else, especially parameter expansion, is performed!
ls -l "*"
Will not be expanded. ls gets the literal * as argument. It will, unless you have a file named *, spit out an error.
0001, 0010, 0011, 0100, 0101, вышел зайчег погулядь