at which byte do two strings differ

2008-05-05 Thread Nathan Coulter
Looking for a simple ways to output the byte at which two strings differ. Here is one: cmp <(echo "hello") <(echo "help") | cut -d' ' -f5 | tr -d , Any other suggestions? -- Yorick

Re: [Pkg-shadow-devel] Bug#476519: shell-mode garbles input

2008-05-05 Thread jidanni
All I have installed else is dash: 4 successes 0 failures. SC> perl -e '$<=$>=$(=$)=65534; exec sh' That gets a shell without triggering the error. SC> perl -e '$<=$>=$(=$)=65534; system sh' That filled emacs with \377's with luckily a little CPU left over that I could kill emacs... * SC> Not sure