Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-4145

Shell interpreter can't render output that uses \r\n line separators

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 0.8.1
    • None
    • Interpreters
    • None

    Description

      Basically, if the command you run has output separated with \r\n which is not uncommon, the UI will somehow miss it or print rubish.

      To test, create a simple script like this:

      #!/bin/bash
      echo -e "hey\r\n"
      echo good?
      

      Running this in Zeppelin using `%sh /path/script` will render:

      good?
      

      i.e. the hey part is not printed somehow. If you run this instead it works:

      %sh /path/script | tr '\r' ' '
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              casidiablo Cristian
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: