use

Recherche

Voici les résultats de votre recherche.

obsolete
53 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... ribute to confusion about the copy descriptor because the syntax is unclear. They also introduce parsin
positional-parameters
18 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
13 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
11 Occurrences trouvées, Dernière modification :
aracter escaping ===== Per-character escaping is useful in on expansions and substitutions. In general... \"$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(... -e 's/\&/\\\&/g' } </code> The backslash can be used to mask every character that has a special meani
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
echapement
1 Occurrences trouvées, Dernière modification :
informations dans deux fichiers différents. Heureusement, il est possible de fusionner les sorties dan