You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When sending a bash file to dpaste.org, bash scripts are seen as "python".
#!/bin/bash
shopt -s extglob
case $1 in
[a-z])
echo indent OK. Case '[a-z]'
;;
+([1-9]))
echo indent NOK. Case '+([1-9])', extended pattern.
;;
*)
echo indent still NOK. Case '*', after extended pattern
;;
esac # indent still NOK
The buffer is correct (sh-mode), and shebang is correct. I did not test this behavior for other providers.
The text was updated successfully, but these errors were encountered:
When sending a bash file to dpaste.org, bash scripts are seen as "python".
The buffer is correct (sh-mode), and shebang is correct. I did not test this behavior for other providers.
The text was updated successfully, but these errors were encountered: