index

Recherche

Voici les résultats de votre recherche.

redirection
15 Occurrences trouvées, Dernière modification :
tances, there are 3 files open, accessible by the file descriptors 0, 1 and 2, all connected to your ter... wrap> Both, ''stdout'' and ''stderr'' are output file descriptors. Their difference is the **convention... rror messages (stderr) to the bit bucket cat some_file.txt 2>/dev/null </code> Whenever you **reference** a descriptor, to point to its current target file, then you use a "''&''" followed by a the descrip
obsolete
6 Occurrences trouvées, Dernière modification :
^ Syntax ^ Replacement ^ Description ^ |''&>FILE'' and ''>&FILE'' |''>FILE 2>&1'' |This redirection syntax is short for ''>FILE 2>&1'' and originates in the C Shell. The latter
positional-parameters
4 Occurrences trouvées, Dernière modification :
: ''COMMAND [options] <params>'' # Like 'cat -A file.txt' See simple option parsing code below. It's ... d more. while : do case "$1" in -f | --file) file="$2" # You may want to check validity of $2 shift 2 ;; -h | --help) display_h... re options break ;; esac done # End of file </code> ==== Filter unwanted options with a wrap
flac2mp3
3 Occurrences trouvées, Dernière modification :
flac2mp3.sh Version2 ########## #!/bin/bash for FILE in *.flac; do ffmpeg -i "$FILE" -ab 320k -map_metadata 0 "${FILE%.*}.mp3"; done </code> ## links https://blog.seboss666.info/2014/04
quoting
2 Occurrences trouvées, Dernière modification :
ral ''*'' as argument. It will, unless you have a file named ''*'', spit out an error. <code> echo "You... h ['' you will see that there is in fact a binary file with that name. So if we were writing this as a t
check-script
1 Occurrences trouvées, Dernière modification :
ite a shell command for testing our work. Create file **tests.bashtest**: <cli> $ ./stat.sh testsuit/
  • index.txt
  • Dernière modification : 2022/11/08 16:43
  • de 127.0.0.1