• thingsiplay@beehaw.org
    link
    fedilink
    arrow-up
    4
    ·
    16 days ago

    doesn’t work for me (using fish) and is apparantly only available in bash; would you call that then a command?

    Right, the ^search^replace is a Bash feature. It is a builtin command, like echo or cd in example. Just because a command is not available to any other shell or if its not an independent program, does not make it not a command (in my opinion).

    However I agree its a little bit out of place here. A note that its a builtin and not universally available to every shell would have been nice in such a listing.

    • macniel@feddit.org
      link
      fedilink
      arrow-up
      7
      ·
      16 days ago

      just for the sake of being pedantic: echo is actually a program (just like ls) cd though is indeed a command. And I agree with your last statement.