Skip to content

Instantly share code, notes, and snippets.

@multun
Created December 4, 2019 21:34
Show Gist options
  • Save multun/8eb266f243786181aa22c32773d9002f to your computer and use it in GitHub Desktop.
Save multun/8eb266f243786181aa22c32773d9002f to your computer and use it in GitHub Desktop.
sh-5.0$ alias atroce='func('
sh-5.0$ atroce
sh: syntax error near unexpected token `newline'
sh-5.0$ atroce ) {
> echo vraiment atroce
>
> }
sh-5.0$ if true; then
> alias machin='echo hm ok'
> machin
> fi
sh: machin: command not found
sh-5.0$ machin
hm ok
sh-5.0$ alias echo='echo bidule'
sh-5.0$ alias machin='echo truc'
sh-5.0$ machin
bidule truc
sh-5.0$ printf '%s\n' echo
echo
sh-5.0$ \echo vrai echo
vrai echo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment