Re: NEDIT + Red Hat Issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sid Devarajan wrote:
> Hi,
> 
> I use nedit on my RH Fedora linux machine and get this message
> everytime I start nedit:
> 
> "The current locale is utf8 (en_US.UTF-8). Changed locale to non-utf8 (en_US)."
> 
> Can I do anything to make this go away? It is not a big problem, but I
> would prefer
> not seeing this everytime.
> 

Save the following script as /usr/local/bin/nedit:

  #!/bin/bash
  LANG=${LANG%.UTF-8} exec /usr/bin/nedit ${1+"$@"}

And make it executable (chmod 0755 /usr/local/bin/nedit).

BTW, I'd really appreciate it if someone could explain the '${1+"$@"}'
brace expansion.  It's the only way I've found to handle multiple
parameters, some of which contain spaces, but I'd love to know *why* it
works.

HTH

-- 
========================================================================
Ian Pilcher                                        i.pilcher@xxxxxxxxxxx
========================================================================


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux