index

Recherche

Voici les résultats de votre recherche.

obsolete
46 Occurrences trouvées, Dernière modification :
the [[scripting:nonportable | portability page]] for a discussion on portability issues. This first t... any legitimate uses. These features exist mostly for Bourne, csh, or some other backward compatibility... ''>FILE 2>&1'' |This redirection syntax is short for ''>FILE 2>&1'' and originates in the C Shell. The latter form is especially uncommon and should never be used,
positional-parameters
22 Occurrences trouvées, Dernière modification :
t was called. Option-switch parsing (e.g. ''-h'' for displaying help) is not performed at this point. ... lso [[dict:terms:parameter | the dictionary entry for "parameter"]]. ===== The first argument ===== ... /bin/testscript </code> However, this isn't true for login shells: <code> > echo "$0" -bash </code> I... ily influence it (the ''login'' program does that for login shells, by prefixing a dash, for example).
quoting
19 Occurrences trouvées, Dernière modification :
e-quotes: ''<nowiki>'stuff'</nowiki>'' All three forms have the very same purpose: **They give you gen... troduce strong-quoting (see below) * characters for pattern matching * tilde expansion * pathname... ATIVE: It's also possible to mix-and-match quotes for readability: echo "Here's my test" </code> ====... e (ASCII 033) **\E is non-standard** | | ''\f'' | form feed | | ''\n'' | newline | | ''\r'' | carriage
redirection
5 Occurrences trouvées, Dernière modification :
terminal** here. Check your preferred UNIX(r)-FAQ for details, I'm too lazy to explain what a terminal ... ists. You can manually override that behaviour by forcing overwrite with the redirection operator ''>|'... ay help cat <<EOF Sorry... No help available yet for $PROGRAM. Hehe... EOF </code> As you see, substi... of the here-documents. The word ''WORD'' is taken for the input redirection: <code> cat <<< "Hello wor
check-script
3 Occurrences trouvées, Dernière modification :
https://github.com/pahaz/bashtest|bashtest]] tool for testing your scripts. https://wiki.bash-hackers.... ==== Create testsuit ==== Then make test suits for **stat.sh**. We make a directory **testsuit** whi... Lets write tests. We just write a shell command for testing our work. Create file **tests.bashtest**
flac2mp3
1 Occurrences trouvées, Dernière modification :
# # flac2mp3.sh Version2 ########## #!/bin/bash for FILE in *.flac; do ffmpeg -i "$FILE" -ab 320k
  • index.txt
  • Dernière modification : 2022/11/08 16:43
  • de 127.0.0.1