Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for metacharacter (0.27 sec)

  1. integration-tests/gradle/gradlew

    #   set -- "${ARGS[@]}" "$@"
    #
    # but POSIX shell has neither arrays nor command substitution, so instead we
    # post-process each arg (as a line of input to sed) to backslash-escape any
    # character that might be a shell metacharacter, then use eval to reverse
    # that process (while maintaining the separation between arguments), and wrap
    # the whole thing up as a single "set" statement.
    #
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Oct 31 19:07:19 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/env_write.txt

    ! go env -w GO111MODULE=badvalue
    stderr 'invalid GO111MODULE value "badvalue"'
    
    # go env -w rejects invalid GOPATH values
    ! go env -w GOPATH=~/go
    stderr 'GOPATH entry cannot start with shell metacharacter'
    
    ! go env -w GOPATH=./go
    stderr 'GOPATH entry is relative; must be absolute path'
    
    # go env -w rejects invalid GOTMPDIR values
    ! go env -w GOTMPDIR=x
    stderr 'go: GOTMPDIR must be an absolute path'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 18:42:31 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. gradlew

    #   set -- "${ARGS[@]}" "$@"
    #
    # but POSIX shell has neither arrays nor command substitution, so instead we
    # post-process each arg (as a line of input to sed) to backslash-escape any
    # character that might be a shell metacharacter, then use eval to reverse
    # that process (while maintaining the separation between arguments), and wrap
    # the whole thing up as a single "set" statement.
    #
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 11:20:16 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  4. gradlew

    #   set -- "${ARGS[@]}" "$@"
    #
    # but POSIX shell has neither arrays nor command substitution, so instead we
    # post-process each arg (as a line of input to sed) to backslash-escape any
    # character that might be a shell metacharacter, then use eval to reverse
    # that process (while maintaining the separation between arguments), and wrap
    # the whole thing up as a single "set" statement.
    #
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Dec 24 09:00:26 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  5. src/mime/type_unix.go

    			//   be possible)
    			// - support for globs with weight ordering would have
    			//   performance impact to all lookups to support the
    			//   rarely seen glob entries
    			// - trying to match glob metacharacters literally is
    			//   not useful
    			continue
    		}
    		if _, ok := mimeTypes.Load(extension); ok {
    			// We've already seen this extension.
    			// The file is in weight order, so we keep
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:56:32 UTC 2023
    - 3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/html/HtmlEscapers.java

     * @author David Beaumont
     * @since 15.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class HtmlEscapers {
      /**
       * Returns an {@link Escaper} instance that escapes HTML metacharacters as specified by <a
       * href="http://www.w3.org/TR/html4/">HTML 4.01</a>. The resulting strings can be used both in
       * attribute values and in most elements' text contents, provided that the HTML
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 14 22:08:54 UTC 2021
    - 3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/html/HtmlEscapers.java

     * @author David Beaumont
     * @since 15.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class HtmlEscapers {
      /**
       * Returns an {@link Escaper} instance that escapes HTML metacharacters as specified by <a
       * href="http://www.w3.org/TR/html4/">HTML 4.01</a>. The resulting strings can be used both in
       * attribute values and in most elements' text contents, provided that the HTML
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 14 22:08:54 UTC 2021
    - 3K bytes
    - Viewed (0)
  8. platforms/jvm/plugins-application/src/test/groovy/org/gradle/api/internal/plugins/UnixStartScriptGeneratorTest.groovy

            then:
            destination.toString().contains(/DEFAULT_JVM_OPTS='"-Dfoo=b'"'"'ar baz" "-Xi'"'"''"'"'n'"`"'t"'/)
        }
    
        def "defaultJvmOpts is expanded properly in unix script -- backslashes and shell metacharacters"() {
            given:
            JavaAppStartScriptGenerationDetails details = createScriptGenerationDetails(['-Dfoo=b\\ar baz', '-Xint$PATH'], 'bin')
            Writer destination = new StringWriter()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. platforms/jvm/plugins-application/src/test/groovy/org/gradle/api/internal/plugins/WindowsStartScriptGeneratorTest.groovy

            then:
            destination.toString().contains(/set DEFAULT_JVM_OPTS="-Dfoo=b\"ar baz" "-Xi\"\"nt" "-Xpatho\\\"logical"/)
        }
    
        def "defaultJvmOpts is expanded properly in windows script -- backslashes and shell metacharacters"() {
            given:
            JavaAppStartScriptGenerationDetails details = createScriptGenerationDetails(['-Dfoo=b\\ar baz', '-Xint%PATH%'], 'bin')
            Writer destination = new StringWriter()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. src/cmd/go/internal/str/path.go

    func WithFilePathSeparator(s string) string {
    	if s == "" || os.IsPathSeparator(s[len(s)-1]) {
    		return s
    	}
    	return s + string(filepath.Separator)
    }
    
    // QuoteGlob returns s with all Glob metacharacters quoted.
    // We don't try to handle backslash here, as that can appear in a
    // file path on Windows.
    func QuoteGlob(s string) string {
    	if !strings.ContainsAny(s, `*?[]`) {
    		return s
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 31 20:33:02 UTC 2023
    - 3.9K bytes
    - Viewed (0)
Back to top