index

Recherche

Voici les résultats de votre recherche.

basics
46 Occurrences trouvées, Dernière modification :
a Bash script with that filename as a parameter: <code> bash ./myfile </code> There is **no need to add a boring filename extension** like ''.bash'' or ''.sh'... ilename extension is a convention, nothing else. <code> chmod +x ./myfile </code> If the file is executable, and you want to use it by calling only the scrip
scripting
43 Occurrences trouvées, Dernière modification :
ines that helped me to read and understand my own code over the years. They also will help to produce code that will be a bit more robust than "if something b... course. But I have seen so much ugly and terrible code (not only in shell) during all the years, that I'm 100% convinced there needs to be //some// code layout and style. No matter which one you use, us
color
18 Occurrences trouvées, Dernière modification :
-bit true color: "888" colors (aka 16 milion)\\ <code bash> printf "\x1b[${bg};2;${red};${green};${blue}m\n" </code> The 256-color palette is configured at start an... fy the color itself. This is a good test case: <code bash> printf "\x1b[38;2;255;100;0mTRUECOLOR\x1b[0m\n" </code> - or https://raw.githubusercontent.com/JohnMora
truecolor
18 Occurrences trouvées, Dernière modification :
24-bit true color: "888" colors (aka 16 milion) <code bash> printf "\x1b[${bg};2;${red};${green};${blue}m\n" </code> The 256-color palette is configured at start an... the color itself. This is a good test case: <code bash> printf "\x1b[38;2;255;100;0mTRUECOLOR\x1b[0m\n" </code> - or https://raw.githubusercontent.com/John
obselete
9 Occurrences trouvées, Dernière modification :
hould be irrelevant to most everyone except maybe code golfers. New scripts should never use them. None ... ession. See: [[syntax:redirection | redirection]]<code bash> $ { bash; dash </dev/fd/0; } <<<'echo foo>/dev/null&>/dev/fd/2 echo bar' foo echo bar bar</code>| |''$[EXPRESSION]'' |''<nowiki>$((EXPRESSION))<... ns such as encouraging bad practices or dangerous code. Those that are specified by POSIX may be badly d
behaviours
4 Occurrences trouvées, Dernière modification :
ing (excerpt from a Bash maintainer's document): <code> Starting Bash with the `--posix' command-line op... sh'. 2. The message printed by the job control code and builtins when a job exits with a non-zer... s)'. 3. The message printed by the job control code and builtins when a job is stopped is `Stopp... ct-posix-default' to `configure' when building. </code> FIXME help me to find out what breaks in POSIX
  • index.txt
  • Dernière modification : 2022/11/08 16:43
  • de 127.0.0.1