- Joined
- Aug 16, 2012
- Messages
- 1
- Reaction score
- 0
- Points
- 1
- Your Mac's Specs
- MacBook Pro (15-inch, Mid 2009), OS X 10.6.8
I'm having trouble writing a shell script that is able to find filenames containing accented characters. For instance, the following command:
finds these files in the current directory:
IMQ_también1.wav
IMQ_también2.wav
IMQ_también3.wav
IMQ_también4.wav
IMQ_también5.wav
IMQ_también6.wav
But this command:
finds nothing. Similar grep searches for filenames containing ñ also turn up empty. I'm sure there must be a way to make this work. Any ideas?
Code:
ls | egrep tambi
IMQ_también1.wav
IMQ_también2.wav
IMQ_también3.wav
IMQ_también4.wav
IMQ_también5.wav
IMQ_también6.wav
But this command:
Code:
ls | egrep también