Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] Re: Piping stderr?
- Date: Fri, 21 Jun 2002 15:23:18 +0200
- From: Mike Fabian <mfabian@example.com>
- Subject: [tlug] Re: Piping stderr?
- References: <3D109EC0.4070703@example.com><87n0trz38q.fsf@example.com><s3t3cvj6oad.fsf@example.com><87r8j1w8ol.fsf@example.com>
- User-agent: Gnus/5.090004 (Oort Gnus v0.04) XEmacs/21.4 (Honest Recruiter,i386-suse-linux)
"Stephen J. Turnbull" <stephen@example.com> writes: >>>>>> "Mike" == Mike Fabian <mfabian@example.com> writes: > > Mike> But as zsh doesn't support any multibyte encodings yet and I > Mike> don't know of any patches to add multibyte support to zsh, I > Mike> prefer to use a bash patched for multibyte (including UTF-8) > Mike> support. > > Err, why should a shell "support" multibyte encodings? Make it 8-bit > clean, for shell syntax use ASCII (sorry), for localization of string > data, use an EUC variant, for multilingualization, use UTF-8. Almost > everything else can be put off to the terminal and/or external > commands, no? What about glob patterns: mfabian@example.com:~/filenames$ bash mfabian@example.com:~/filenames$ touch 貴社 の 記者 が 汽車 で 帰社 しますした。 mfabian@example.com:~/filenames$ ls が しますした。 で の 帰社 汽車 記者 貴社 mfabian@example.com:~/filenames$ ls [汽帰]* 帰社 汽車 mfabian@example.com:~/filenames$ zsh mfabian@example.com ~/filenames$ ls が しますした。 で の 帰社 汽車 記者 貴社 mfabian@example.com ~/filenames$ ls [汽帰]* zsh: no matches found: [\M-f\M-1\M-=\M-e\M-8\M-0]* mfabian@example.com ~/filenames$ locale LANG=ja_JP.UTF-8 LC_CTYPE="ja_JP.UTF-8" LC_NUMERIC="ja_JP.UTF-8" LC_TIME="ja_JP.UTF-8" LC_COLLATE=POSIX LC_MONETARY="ja_JP.UTF-8" LC_MESSAGES="ja_JP.UTF-8" LC_PAPER="ja_JP.UTF-8" LC_NAME="ja_JP.UTF-8" LC_ADDRESS="ja_JP.UTF-8" LC_TELEPHONE="ja_JP.UTF-8" LC_MEASUREMENT="ja_JP.UTF-8" LC_IDENTIFICATION="ja_JP.UTF-8" LC_ALL= mfabian@example.com ~/filenames$ both bash and zsh are running in UTF-8 locale in this example. It doesn't help if you do that in an (X)Emacs shell buffer. It doesn't work with zsh even if running in an (X)Emacs shell buffer. -- Mike Fabian <mfabian@example.com> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。
- Follow-Ups:
- [tlug] Re: Piping stderr?
- From: Stephen J. Turnbull
- References:
- [tlug] Piping stderr?
- From: Josh Glover
- Re: [tlug] Piping stderr?
- From: Stephen J. Turnbull
- [tlug] Re: Piping stderr?
- From: Mike Fabian
- [tlug] Re: Piping stderr?
- From: Stephen J. Turnbull
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] preserving permissions settings
- Next by Date: [tlug] Watching dvd in Linux
- Previous by thread: Re: [tlug] Tomcat and Cocoon 2.9
- Next by thread: [tlug] Re: Piping stderr?
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links