#!/bin/sh # -*- eval: (bug-reference-mode 1) -*- setlock -n /tmp/getmail.lock && echo getmail isn\'t running toto=$(grep hello foo | wc) myfun () { for ((it=0; it<${limit}; ++it)) { echo "whatever $it" } } # adsgsdg if foo; then if bar; then toto fi fi # bug#15613 case $X in foo) do_something ;; arg=*) # bug#12953 do_something_else_based_on_arg ;; *) default ;; esac { # bug#17621 foo1 && foo2 && bar foo1 && \ foo2 && \ bar } for foo in bar; do # bug#17721 [ -e $foo ] && { echo t } && { echo r } done for foo in bar; do # bug#17896 [ -e $foo ] && [ -e $bar ] && { echo just fine thanks } done filter_3 () # bug#17842 { tr -d '"`' | tr ' ' ' ' | \ awk -F\; -f filter.awk | \ grep -v "^," | sort -t, -k2,2 } foo | bar | { toto } grep -e "^$userregexp:" /etc/passwd | cut -d : -f 1 | while read user ; do print -u2 "user=$user" # bug#18031 sudo -U $user -ll | while read line ; do : done done echo -n $(( 5 << 2 )) # This should not be treated as a heredoc (bug#12770). 2 foo='bar<<' # bug#11263 echo ${foo%<&1` in #( *${as_nl}ac_space=\ *) # `set' does not quote correctly, so add quotes: double-quote # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=/\\1=''/p" ;; #( *) # `set' quotes correctly as required by POSIX, so do not add # quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | grep '.' | # KNOWN INDENT BUG sed 1d case toto in -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; 5) hello ;; 3) hello $(adfad) echo esac ;; # KNOWN INDENT BUG 5) hello ;; 4) hello ;& 4) hello ;;& 5) hello ;; 5) hello ;; esac echo "'" wfgfe #!/bin/bash cat << EOF \ | cat sadfsafd \ sadfsafd "KNOWN INDENT BUG" \ | tee -a bug.txt asdfsaf This is a test case for a bug in bash shell mode text highlighting EOF cat <