View previous topic :: View next topic |
Author |
Message |
clementwe n00b
Joined: 02 Sep 2002 Posts: 7 Location: West Wendover, Nevada
|
Posted: Sun Jan 08, 2006 1:01 am Post subject: directories created with ? or ^M at end |
|
|
I have a problem with directories being created with "?" or "^M" at the end.
At first i thought it was a quirk of sync when i was moving files but now i find that cp also does it.
if the target is a directory to be created it is made with a ? or ^M at the end.
if the target is a existing directory for files to be copied into a directory is made in it named "?" or "^M" and the files are put in it.
I have a bash problem that i don't know if it is related or not, in that if i run a bash script it will fail saying permishion denied but if i run it "bash <script>" it works but complaines about command not found with a line number coresponding to the first blank line in the script.
has anyone had ether of these two problems? could they be related?
I've tried swithing to older version of bash with now efect.
when i get off work i'll be able to get version numbers, what would be helpfull besides bash? |
|
Back to top |
|
|
Dlareh Advocate
Joined: 06 Aug 2005 Posts: 2102
|
Posted: Sun Jan 08, 2006 1:09 am Post subject: |
|
|
I'm just guessing here, but it may be that you have some environment variable set to something strange. Post the output of "set" ... _________________ "Mr Thomas Edison has been up on the two previous nights discovering 'a bug' in his phonograph." --Pall Mall Gazette (1889)
Are we THERE yet? |
|
Back to top |
|
|
clementwe n00b
Joined: 02 Sep 2002 Posts: 7 Location: West Wendover, Nevada
|
Posted: Mon Jan 09, 2006 12:16 am Post subject: |
|
|
i tried these versions of bash
bash-3.0-r12.ebuild
bash-3.0-r11.ebuild
now - bash-2.05b-r11.ebuild
here is the output of the "set" command
===========================================================================
BASH=/bin/bash
BASH_VERSINFO=([0]="2" [1]="05b" [2]="0" [3]="1" [4]="release" [5]="i386-pc-linux-gnu")
BASH_VERSION='2.05b.0(1)-release'
COLUMNS=98
CONFIG_PROTECT='/usr/lib/mozilla/defaults/pref /usr/lib/X11/xkb /usr/kde/3.4/share/config /usr/kde/3.4/env /usr/kde/3.4/shutdown /usr/share/config'
CONFIG_PROTECT_MASK='/etc/gconf /etc/terminfo'
CVS_RSH=ssh
DIRSTACK=()
DISPLAY=:0.0
EDITOR=/bin/nano
EUID=0
GCC_SPECS=
GDK_USE_XFT=1
GROUPS=()
GUILE_LOAD_PATH=/usr/share/guile/1.6
G_BROKEN_FILENAMES=1
HISTFILE=/root/.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/root
HOSTNAME=livecd
HOSTTYPE=i386
IFS=$' \t\n'
INFOPATH=/usr/share/info:/usr/share/binutils-data/i386-pc-linux-gnu/2.15.92.0.2/info:/usr/share/gcc-data/i386-pc-linux-gnu/3.3.6/info
KDEDIRS=/usr
LESS=-R
LESSOPEN='|lesspipe.sh %s'
LINES=29
LOGNAME=root
MACHTYPE=i386-pc-linux-gnu
MAILCHECK=60
MANPATH=/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i386-pc-linux-gnu/2.15.92.0.2/man:/usr/share/gcc-data/i386-pc-linux-gnu/3.3.6/man:/usr/qt/3/doc/man
MOZILLA_FIVE_HOME=/usr/lib/mozilla
OLDPWD=/mnt/flash0
OPENGL_PROFILE=xorg-x11
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PAGER=/usr/bin/less
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i386-pc-linux-gnu/gcc-bin/3.3.6:/opt/ati/bin:/usr/qt/3/bin:/usr/kde/3.4/sbin:/usr/kde/3.4/bin
PIPESTATUS=([0]="1")
PPID=27968
PRELINK_PATH_MASK=/usr/lib/gstreamer-0.8
PS1='\[\033[01;31m\]\h \[\033[01;34m\]\W \$ \[\033[00m\]'
PS2='> '
PS4='+ '
PWD=/mnt/flash0/help
PYTHONPATH=/usr/lib/portage/pym
QMAKESPEC=linux-g++
QTDIR=/usr/qt/3
SHELL=/bin/bash
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor
SHLVL=1
TERM=xterm
UID=0
USER=root
XAUTHORITY=/root/.xauthqKPaaq
XINITRC=/etc/X11/xinit/xinitrc
_=PS1
safe_term=xterm
use_color=true
===================================================================== |
|
Back to top |
|
|
clementwe n00b
Joined: 02 Sep 2002 Posts: 7 Location: West Wendover, Nevada
|
Posted: Wed Jan 11, 2006 12:19 am Post subject: |
|
|
?? |
|
Back to top |
|
|
|