use

Recherche

Voici les résultats de votre recherche.

obselete
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
scripting
38 Occurrences trouvées, Dernière modification :
// code layout and style. No matter which one you use, use it throughout your code (at least don't change it within the same shellscript file); don't change... nfluences a script, it's only for us humans. I'm used to seeing/using indentation of //two space chara... ake trouble. I can imagine one case where they're useful: Indenting [[syntax:redirection#here_documents
basics
16 Occurrences trouvées, Dernière modification :
code> If the file is executable, and you want to use it by calling only the script name, the shebang m... d only program output to stdout. This enables the user to decide if they want to see nothing, only the ... e them. When you write a script: * always read user-input from ''stdin'' * always write diagnostic... ===== Variable names ===== It's good practice to use lowercase names for your variables, as shell and
color
14 Occurrences trouvées, Dernière modification :
at the same time. Truecolor escape codes do not use a color palette. They just specify the color itse... UECOLOR\x1b[0m\n" </code> - or https://raw.githubusercontent.com/JohnMorales/dotfiles/master/colors/24... ; }' </code> Keep in mind that it is possible to use both ';' and ':' as Control Sequence Introducer d... r capability under the name of "RGB". You need to use the "setaf" and "setab" commands to set the foreg
truecolor
14 Occurrences trouvées, Dernière modification :
at the same time. Truecolor escape codes do not use a color palette. They just specify the color itse... LOR\x1b[0m\n" </code> - or https://raw.githubusercontent.com/JohnMorales/dotfiles/master/colors/24... ; }' </code> Keep in mind that it is possible to use both ';' and ':' as Control Sequence Introducer d... r capability under the name of "RGB". You need to use the "setaf" and "setab" commands to set the foreg
behaviours
13 Occurrences trouvées, Dernière modification :
"login shell", Bash reads and sets (executes) the user's profile from ''/etc/profile'' and one of ''~/.... ariable sets that only make sense for the initial user login. That's why all UNIX(r) shells have (shoul... e rc file is to ''source /etc/bashrc'' from every user's ''~/.bashrc''. __**Methods to test for intera... |ENV]] is evaluated and the resulting filename is used as the name of the startup file. After the star