Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-1033

Review the path spec for shell file and directory paths on Linux and Windows

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 1.3.3.Final
    • UI - Shell
    • None

      Coming from the fix for FORGE-93, it is desirable to document the path specification for files and directories in both Linux (and Mac OS X), and Windows. In Linux, '/' is the only allowed separator, whereas in Windows, both '\' and '/' are allowed.

      This obviously has an impact on the FSH script compatibility across these OSes. On the other hand, constraining the directory separator to '/' for Windows, to achieve commonality would probably work against usability as well as result in unusable paths in Windows.

      Additionally, escape sequences need to be determined (for escaping whitespaces and other characters that can be interpreted differently by the shell), and whether paths need to be quoted to handle whitespaces etc. Autocompletion of inputs should ideally work in both of these cases.

      Discuss.

            Unassigned Unassigned
            vineet.reynolds_jira Vineet Reynolds (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: