Jonkman Microblog
  • Login
Show Navigation
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. clacke: inhibited exhausted pixie dream boy πŸ‡ΈπŸ‡ͺπŸ‡­πŸ‡°πŸ’™πŸ’› (clacke@libranet.de)'s status on Tuesday, 14-May-2019 01:21:39 EDT clacke: inhibited exhausted pixie dream boy 🇸🇪🇭🇰💙💛 clacke: inhibited exhausted pixie dream boy πŸ‡ΈπŸ‡ͺπŸ‡­πŸ‡°πŸ’™πŸ’›
    "is there a REPL for bash?"
    In conversation Tuesday, 14-May-2019 01:21:39 EDT from libranet.de permalink
    1. Dave Morriss (perloid@mastodon.sdf.org)'s status on Tuesday, 14-May-2019 05:36:53 EDT Dave Morriss Dave Morriss
      in reply to

      @clacke Intriguing question (though I assume not yours?).

      Is repl.it worth looking at?

      I tend to use 'set +x' and 'set -x'
      or just print stuff to debug scripts

      In conversation Tuesday, 14-May-2019 05:36:53 EDT from mastodon.sdf.org permalink
      1. clacke: inhibited exhausted pixie dream boy πŸ‡ΈπŸ‡ͺπŸ‡­πŸ‡°πŸ’™πŸ’› (clacke@libranet.de)'s status on Tuesday, 14-May-2019 10:01:51 EDT clacke: inhibited exhausted pixie dream boy 🇸🇪🇭🇰💙💛 clacke: inhibited exhausted pixie dream boy πŸ‡ΈπŸ‡ͺπŸ‡­πŸ‡°πŸ’™πŸ’›
        in reply to
        @Dave Morriss @Charles Stanhope I was looking for something else and this showed up on StackOverflow.

        One of the answers pointed out that the question is not quite as funny as it sounds: the interactive bash is actually just a RE_L, it doesn't print!

        There isn't anything to print, really. Functions and commands only return return codes. But if you put the return code in your PS1 then bash becomes a REPL. πŸ˜€
        In conversation Tuesday, 14-May-2019 10:01:51 EDT from libranet.de permalink
        1. clacke: inhibited exhausted pixie dream boy πŸ‡ΈπŸ‡ͺπŸ‡­πŸ‡°πŸ’™πŸ’› (clacke@libranet.de)'s status on Tuesday, 14-May-2019 10:03:08 EDT clacke: inhibited exhausted pixie dream boy 🇸🇪🇭🇰💙💛 clacke: inhibited exhausted pixie dream boy πŸ‡ΈπŸ‡ͺπŸ‡­πŸ‡°πŸ’™πŸ’›
          in reply to
          @Charles Stanhope @Dave Morriss repl.it was one of the serious suggestions. I'm happy to note that no answers or comments were snarky. The implied snark in my OP here makes me the worst offender, but I think I wasn't too bad, and I didn't do it in their face at least. πŸ˜€
          In conversation Tuesday, 14-May-2019 10:03:08 EDT from libranet.de permalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.

Switch to desktop site layout.