Shell: Difference between revisions

No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:


==Useful functions==
==Useful functions==
<code>
<syntaxhighlight lang="sh">
isnumber() {
isnumber() {
   case "$1" in
   case "$1" in
Line 15: Line 15:
   esac
   esac
}
}
</code>
</syntaxhighlight>