• 2 Posts
  • 36 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle







  • jxk@sh.itjust.workstolinuxmemes@lemmy.worldCommandline memes
    link
    fedilink
    arrow-up
    21
    ·
    edit-2
    5 months ago

    Here you go: https://www.gnu.org/fun/jokes/unix.errors.html

    (% represents the csh, $ represents the bourne shell)
     
    % "How poorly would you rate the Unix (so-called) user interface?
    Unmatched ".
     
    % rm congressional-ethics
    rm: congressional-ethics nonexistent
     
    % ar m God
    ar: God does not exist
     
    % [Where is Jimmy Hoffa?
    Missing ].
     
    % ^How did the sex change^ operation go?
    Modifier failed.
     
    % If I had a ( for every $ Congress spent, what would I have?
    Too many ('s.
     
    %make love
    Make:  Don't know how to make love.  Stop.
     
    % sleep with me
    bad character
     
    % got a light?
    No match.
     
    % man: why did you get a divorce?
    man:: Too many arguments.
     
    % ^What is saccharine?
    Bad substitute.
     
    % \(-
    (-: Command not found.
     
    % sh
     
    $ PATH=pretending! /usr/ucb/which sense
    no sense in pretending
     
    $ drink <bottle; opener
    bottle: cannot open
    opener: not found
     
    $ mkdir matter; cat >matter
    matter: cannot create
     
     
    Or, in a System V (att) universe:
     
    $ cat "can of food"
    cat: cannot open can of food
    












  • Awk has the advantage over Perl/Python/etc. that it’s standardized by POSIX. Therefore you can rely on it on all operating systems. It’s pretty much the only advanced scripting language available that is POSIX – the alternative would be some heavy shell scripting or almost-unreadable sed.