[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: broken shell script with dash



Michael P. Soulier wrote the following on 28.03.2011 16:10

> cat /etc/aliases.{1,2} > /etc/aliases

$ ./checkbashisms fooo.sh
possible bashism in fooo.sh line 2 (brace expansion):
cat /etc/aliases.{1,2} > /etc/aliases

checkbashisms is in devscripts but i would not advocate to install the hole
beast. Just download the .deb and extract it.

-- 
bye Thilo

4096R/0xC70B1A8F
721B 1BA0 095C 1ABA 3FC6  7C18 89A4 A2A0 C70B 1A8F



Reply to: