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

Re: [bash]: strano problema con case



On Tue, 3 Feb 2009 13:43:53 +0100, gollum1 wrote:

> echo "x=21; case $x in +([0-9])) echo /"x is an integer/";; esac" >> test.sh
----------------------------------------^----------------^

L'escaping si fa con \...

David

-- 
 . ''`.  Debian maintainer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://snipr.com/qa_page
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174

Attachment: signature.asc
Description: PGP signature


Reply to: