bash scriptings discrepencies
Bug #81794 reported by
Arnold J Noronha
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: bash
The following script works differently on Edgy/DebianEtch and Feisty
if [[ "arn.cpp " =~ ".cpp[[:blank:]]" ]] ; then echo yes; fi
In Feisty, it gives no output. In Edgy/DebianEtch it prints yes.
[Edited later]
description: | updated |
To post a comment you must log in.
please check that you really use /bin/bash as the interpreter. /bin/sh points to dash in feisty. [[ is a bashism and needs the /bin/bash interpreter.