File: test_sockaddr_eval-04.sh

package info (click to toggle)
golang-github-hashicorp-go-sockaddr 0.0~git20170627.41949a1%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 984 kB
  • sloc: sh: 165; makefile: 8
file content (7 lines) | stat: -rwxr-xr-x 131 bytes parent folder | download
1
2
3
4
5
6
7
#!/bin/sh --

set -e
exec 2>&1
cat <<'EOF' | exec ../sockaddr eval -
{{GetAllInterfaces | include "name" "lo0" | printf "%v"}}
EOF