Codebase list rust-stfu8 / 0b2efc1
list-rdeps.sh: use gawk Ximin Luo 4 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
3939
4040 all_rust_packages="$(apt_versions "~e^rust-")"
4141 quick_apt_versions() {
42 printf "%s\n" "$all_rust_packages" | awk "\$1 ~ /$1/ && \$2 ~ /$2/ && \$3 ~ /$3/ && \$4 ~ /$4/ { ${5:-print} }"
42 printf "%s\n" "$all_rust_packages" | gawk "\$1 ~ /$1/ && \$2 ~ /$2/ && \$3 ~ /$3/ && \$4 ~ /$4/ { ${5:-print} }"
4343 }
4444
4545 # versions of source packages in unstable. used to ignore cruft (i.e. binary