View Single Post
  #3   (View Single Post)  
Old 19th February 2012
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

Quote:
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
ENCODING="pl_PL.ISO8859-2"
CODEPAGE="cp852"
I'm sorry, but this is just wrong. Try to use the locale(1) utility if available, and if it isn't try checking the LC_* manually. If all else fails, use a sane default (pl_PL.ISO8859-2 is not what I would consider a sane default).
And overriding the user's PATH ... ? Have you been drinking?

And what's with the underscoritus It almost looks like Python
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote