Re: tr A-Z a-z in locales other than C

看板FB_hackers作者時間14年前 (2011/06/07 09:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/8 (看更多)
On Tue, Jun 07, 2011 at 12:41:05AM +0200, Jilles Tjoelker wrote: > > There is a related issue with ranges in regular expressions, glob and > fnmatch (likewise unspecified by POSIX outside the POSIX locale), but > this is less likely to cause problems. > You care about ports, but suggested change is americano-centrism which kills tr usage for national language documents due to impossibility to specify whole national alphabet easily, just by two letters. Moreover, having differently treated regex ranges in tr vs other places you mention will produce additional chaos. Back to the ports: it is not hard to run _any_ port's make or configure with LANG=C directly by the ports Mk system to eliminate that problem. -- http://ache.vniz.net/ _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
文章代碼(AID): #1DxNXFQQ (FB_hackers)
討論串 (同標題文章)
文章代碼(AID): #1DxNXFQQ (FB_hackers)