MJ <m...@netauth.com> writes: > Hi, > > Sometimes, maybe once ever 100 commands or so, I get the following type of > error: > > [root@black socklog]# dmesg | less > -bash: $'\302\240less': command not found
Here you have an UTF-8 non-breaking space character. > It is not reproducible, at least I don't know how to reproduce it. Hitting up > arrow will reproduce it, but typing the command again will make it go away. It > seems to only happen when piping output through something. > > Any ideas how to fix this? Don't type on both your AltGr and your Space key when you don't intend to. > [root@black ~]# cat .bash_profile > alias ll='ls -al' > > PAGER=less > PATH=/usr/local/bin:/usr/local/sbin:$PATH > PS1="[\u@\h \W]# " > LANG=en_US.UTF-8 > PKG_PATH=http://ftp.funet.fi/pub/mirrors/ftp.openbsd.org/pub/OpenBSD/5.2/packages/i386 > > > export PAGER PATH PKG_PATH PS1 LANG > > > > Thanks. -- Jérémie Courrèges-Anglas GPG Key fingerprint: 61DB D9A0 00A4 67CF 2A90 8961 6191 8FBF 06A1 1494