consmirror.c: the BSD notice is replaced (Makronix's own file). Files with changes of other sessions pending are left for their commit. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
21 lines
717 B
Bash
21 lines
717 B
Bash
#!/bin/sh
|
|
# License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
|
|
#
|
|
# One line per port of mobile/userland (docs/NETBSD-USERLAND.md, A8): the
|
|
# first line of its AGENTS.md (state), the agent line, the item. Look here
|
|
# before claiming a port.
|
|
#
|
|
# Usage: userland-status.sh
|
|
|
|
set -eu
|
|
d=$(cd "$(dirname "$0")/../userland" && pwd)
|
|
printf '%-14s %-22s %-8s %s\n' port state item agent
|
|
for a in "$d"/*/AGENTS.md; do
|
|
[ -e "$a" ] || continue
|
|
p=$(basename "$(dirname "$a")")
|
|
s=$(sed -n 's/^state: *//p' "$a" | head -n 1)
|
|
g=$(sed -n 's/^agent: *//p' "$a" | head -n 1)
|
|
i=$(sed -n 's/^item: *\([^ ]*\).*/\1/p' "$a" | head -n 1)
|
|
printf '%-14s %-22s %-8s %s\n' "$p" "${s:-?}" "${i:--}" "${g:--}"
|
|
done
|