Thank you, Erik, for your comments!
I just realized that in
fn ls {
builtin ls $* | iconv -f UTF8-MAC -t UTF-8
}
one needs
u iconv
because otherwise it picks the wrong iconv when executing this
redefined ls in contexts where $PLAN9/bin occurs in the path first;
for example, try
9 man cat
Running p9p on OSX, I find it useful to put this in my rc profile:
fn ls {
builtin ls $* | iconv -f UTF8-MAC -t UTF-8
}
fn lc {
builtin lc $* | iconv -f UTF8-MAC -t UTF-8
}
so as to deal with the NFD used by the OSX file system and list
names containing non-ascii characters correctly.
But this
On Thu Sep 12 05:41:19 EDT 2013, vanattenm...@gmail.com wrote:
Running p9p on OSX, I find it useful to put this in my rc profile:
fn ls {
builtin ls $* | iconv -f UTF8-MAC -t UTF-8
}
fn lc {
builtin lc $* | iconv -f UTF8-MAC -t UTF-8
}
so as to deal with the NFD used by the OSX file