I have been noticing something weird when typing in commands. This is what I get when I do an ls -la on an empty folder:
sh-3.2# ls -la
total 0
drwxr-xr-x 2 root wheel 68 Apr 2 15:53 .
drwxr-x--- 16 root wheel 544 Apr 2 15:53 ..
-ne
sh-3.2#
Why is there an -ne showing up after I type in a command? Any help would be appreciated.
This is what I get when I echo $PS1.
\s- \$ -ne
Gordon - This is what I get when I printf "'%q'\n" "$PS1"
'\\s-\\v\\\$\ ' -ne
.bashrcand.bash_profilefiles (if they exist). – Kevin Reid Apr 3 '11 at 0:47printf "'%q'\n" "$PS1"and report the results. – Gordon Davisson Apr 3 '11 at 5:36