use

Recherche

Voici les résultats de votre recherche.

obsolete
27 Occurrences trouvées, Dernière modification :
cept maybe code golfers. New scripts should never use them. None of the items on this list are specifie... ribute to confusion about the copy descriptor because the syntax is unclear. They also introduce parsin... e operator. Overall, it's pointless syntax bloat. Use an explicit redirect instead.| |''function\ NAME(... nly ''for'' works in Bash. Needless to say, don't use it.| This table lists syntax that is specified b
positional-parameters
7 Occurrences trouvées, Dernière modification :
ves as described above. To get the function name, use ''$FUNCNAME''. ===== Shifting ===== The builtin... is used to store the initial value of ''$#'' because the shift command will change it as the script ru... ' is defined (but may be null), using [[syntax:pe#use_an_alternate_value | parameter expansion for an a... ssed to the script or function. If you want to re-use your positional parameters to **call another prog
quoting
5 Occurrences trouvées, Dernière modification :
\"$HOME\" </code> * ''\$HOME'' won't expand because it's not in variable-expansion syntax anymore *... om the input stream and thus effectively ignored. Use it to beautify your code: <code> # escapestr_sed(... Will work as expected. ''$PATH'' is expanded, because it's double (weak) quoted. If a backslash in dou... e expanded, it's interpreted as ordinary text because it's surrounded by strong quotes. In practise th
redirection
5 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... [commands:builtin:set | the set builtin]], with cause the redirection to fail, when ''TARGET'' names a
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