[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
shell-script-mode case indenting
From: |
Dan Jacobson |
Subject: |
shell-script-mode case indenting |
Date: |
Thu, 21 Sep 2006 18:28:18 +0800 |
Pressing TAB on each line in this file.sh produces the first line of
this case expression indented different than the rest:
(sed 's/.$/ &/'|while read route company; do case $company in
r)set 仁友 Renyou;;
z)set 台中 Taizhong;;
q)set 全航 Quanhang;;
j)set 巨業 Juye;;
t)set 統聯 Tonglian;;
*)echo $company: HUH? 1>&2;exit 55;;
esac; echo "[[分類:業者 ${1}客運 - Operator $2 Bus Co.]]" \
>> $route; done)<<EOF
001r
005q
006r
EOF
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- shell-script-mode case indenting,
Dan Jacobson <=