use

Recherche

Voici les résultats de votre recherche.

obsolete
35 Occurrences trouvées, Dernière modification :
s tolerated by Bash but has few if any legitimate uses. These features exist mostly for Bourne, csh, or... cept maybe code golfers. New scripts should never use them. None of the items on this list are specifie... r form is especially uncommon and should never be used, and the explicit form using separate redirectio... iscourage it. It conflicts with the list operator used for [[syntax:keywords:coproc | coprocess]] creat
positional-parameters
16 Occurrences trouvées, Dernière modification :
ves as described above. To get the function name, use ''$FUNCNAME''. ===== Shifting ===== The builtin command ''shift'' is used to change the positional parameter values: * '... ument 4: $4" echo "Argument 5: $5" </code> While useful in another situation, this way is lacks flexib... lue. On every iteration, the ''shift''-command is used to shift the argument list: <code> numargs=$# f
redirection
12 Occurrences trouvées, Dernière modification :
e. you want to redirect this descriptor, you just use the number: <code> # this executes the cat-comman... or, to point to its current target file, then you use a "''&''" followed by a the descriptor number: <c... akes one or two words as operands. If you have to use operands (e.g. filenames to redirect to) that con... ation (like below in the details descriptions) is used. ^Syntax^Description^ |''FILENAME''|references
quoting
7 Occurrences trouvées, Dernière modification :
aracter escaping ===== Per-character escaping is useful in on expansions and substitutions. In general... om the input stream and thus effectively ignored. Use it to beautify your code: <code> # escapestr_sed(... -e 's/\&/\\\&/g' } </code> The backslash can be used to mask every character that has a special meani... H (one or two hex digits) | This is especially useful when you want to pass special characters as ar
check-script
2 Occurrences trouvées, Dernière modification :
and check the result. This tutorial shows how-to use [[https://github.com/pahaz/bashtest|bashtest]] to... number of python code lines in the files. We can use it like **./stat.sh <dir>** ==== Create testsuit