Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for sed (0.15 sec)

  1. docs/releasing.md

        export NEXT_VERSION=X.Y.Z-SNAPSHOT
        ```
    
    3. Update versions:
    
        ```
        sed -i "" \
          "s/version = \".*\"/version = \"$RELEASE_VERSION\"/g" \
          build.gradle.kts
        sed -i "" \
          "s/\"com.squareup.okhttp3:\([^\:]*\):[^\"]*\"/\"com.squareup.okhttp3:\1:$RELEASE_VERSION\"/g" \
          `find . -name "README.md"`
        sed -i "" \
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Dec 26 22:07:16 GMT 2022
    - 1.5K bytes
    - Viewed (0)
  2. docs/changelogs/upgrading_to_okhttp_4.md

    ```
    
    But OkHttp 4.x needs a `Companion`:
    
    ```kotlin
    import okhttp3.CipherSuite.Companion.forJavaName
    ```
    
    In the unlikely event that you have a lot of these, run this:
    
    ```bash
    sed -i "" \
      's/^\(import okhttp3\.[^.]*\)\.\([a-z][a-zA-Z]*\)$/\1.Companion.\2/g' \
      `find . -name "*.kt"`
    ```
    
    
    Advanced Profiling
    ------------------
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 06 16:58:16 GMT 2022
    - 10.9K bytes
    - Viewed (0)
  3. gradlew

    #
    #   readarray ARGS < <( xargs -n1 <<<"$var" ) &&
    #   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.
    Shell Script
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Dec 24 09:00:26 GMT 2023
    - 8.5K bytes
    - Viewed (0)
Back to top