Re: Encoding oddity

2010-12-10 Thread Chet Ramey
On 12/10/10 6:42 AM, Richard wrote: > Hi! > > On 10. des. 2010, at 11.56, Dennis Williamson wrote: > --snippet-- >> >> No, I meant to use the echo separately so you could see what the glob was >> doing. >> >> I'm sorry, because of the way I tested it, I made a mistake in what I >> posted. The lin

Re: Encoding oddity

2010-12-10 Thread Richard
Hi! On 10. des. 2010, at 11.56, Dennis Williamson wrote: --snippet-- > > No, I meant to use the echo separately so you could see what the glob was > doing. > > I'm sorry, because of the way I tested it, I made a mistake in what I > posted. The line should be as you originally had it. It should

Re: Encoding oddity

2010-12-10 Thread Dennis Williamson
On Fri, Dec 10, 2010 at 2:04 AM, Richard wrote: > Hi! > > On 10. des. 2010, at 06.26, Dennis Williamson wrote: > >>> -- >>> #!/bin/bash >>> >>> touch /Users/myuser/pretérito.txt >>> >>> # Example 1 >>> myfile="/Users/myuser/pretérito.txt" >>> >>> for b in "$

Re: Encoding oddity

2010-12-09 Thread Dennis Williamson
On Thu, Dec 9, 2010 at 7:11 PM, Richard wrote: > Hi! > > OS X 10.6.x > > I am trying to loop over some files with extended characters. > Everything works fine if I hardcode the path, see example 1, > but if I use a for loop with a * wildcard, I get some problems, > see example 2. > > The problems