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

Re: strange bash problem on potato



Anthony Towns wrote:

> > #!/bin/bash
> > set -e
> > 
> > i="a"
> > case i in
> 
> That should be "case $i in"

Oops.

> >  [A-H]) echo Set [A-H]
> >     ;;
> >  [A-K]) echo Set [A-K]
> >     ;;
> > esac
> 
> Could you rerun your tests with that fixed? It still sounds like one of
> your systems might be doing the case sensitivity thing wrong.

Yes, it fixed it on one system (I can't test the other right now).
On this one, 'bug' also works fine. Even if my mini demonstration
script wasn't correct, there must be something wrong with 'bug' on
the other system.

 Thanks,

  Ulf


Reply to: