in reply to Re: Re: A Simple question
in thread A Simple question

I have absolutely no idea - no surprises there - but to my delight, when I run it it prints

11 fO&vO/e

.. except that instead of 'O' I get one of those machine code emoticons that I would render with <font face="wingdings">K</font> except I can't owing to circs beyond my control. I find this pleasantly inexplicable. Someone must know what's going on, and I'd love to know what.

§ George Sherston

Replies are listed 'Best First'.
Re: Re: Re: Re: A Simple question
by andye (Curate) on Sep 04, 2001 at 15:05 UTC
    Perhaps it's 31331. andy. ;)
Re: Re: Re: Re: A Simple question
by dani++ (Sexton) on Sep 04, 2001 at 18:03 UTC
    Uh, oh. =)
    First, it spits out:
    /e: Event not found.

    The second time prints:
    s//svi freakA...

    Don't ask me why. And tell me, please.

    dani++

      "/e: Event not found," looks like a shell response -- if you are using the wrong kind of quotes or forgetting quotes altogether. Bash gives me "bash: !/e": event not found" -- which is a bit more helpful. The shell fails to expand the metacharacter '!'

      (Of course, bash accepts either quotes, which is also kinda helpful.)

      The second time -- did you do this with some shell function to recall previous command (arrow-up or C-p or whatever)? If so, perhaps the results of the '!!' are remembered as well, perhaps mangled by the subsequent failure?

      Let me guess -- did your previous command look something like "vi freakA"? :-)

      The Sidhekin, preferring Emacs to vi, but thankful it was not notepad :-)