Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for xxxx01 (0.18 sec)

  1. cluster/gce/gci/configure-helper.sh

    function append_or_replace_prefixed_line {
      local -r file="${1:-}"
      local -r prefix="${2:-}"
      local -r suffix="${3:-}"
      local -r dirname=$(dirname "${file}")
      local -r tmpfile=$(mktemp "${dirname}/filtered.XXXX")
    
      touch "${file}"
      awk -v pfx="${prefix}" 'substr($0,1,length(pfx)) != pfx { print }' "${file}" > "${tmpfile}"
      echo "${prefix}${suffix}" >> "${tmpfile}"
      mv "${tmpfile}" "${file}"
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
Back to top