Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-700

Escaping Slash

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0-beta-8
    • 1.0-beta-10
    • None
    • None
    • Cross platform issue

    Description

      executing the following command

      groovy -e "println '\\\\'"

      On a mac it produces one slash:

      \

      On windows it produces two slashes:


      The behaviour should be consistent across platforms.

      Attachments

        Activity

          People

            phkim Kim, Pilho
            jez Jeremy Rayner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: