Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • PDF documentation don't show up in STATA 16 using Ubuntu 20.04.2 LTS

    I just installed STATA 16 in my Ubuntu machine and everything is running well. However, when I need to access the help option of a command, STATA don't open the pdf documentation. When I click in "(View complete PDF manual entry)" the Ubuntu terminal prints the following message:

    Code:
    /usr/local/stata_pdf: 67: [[: not found
    I cannot understand what this message means. How can I fix this issue and access the pdf documentation?

  • #2
    Put the following in the first line of the stata_pdf script:

    #!/bin/bash

    Otherwise, the script is executed by sh and not bash, and sh doesn't understand the double bracket used in line 67.

    Comment

    Working...
    X