Commit 20a6233f authored by Peter Kovary's avatar Peter Kovary
Browse files

Add util for y2 webapp grouping

parent f6cada7a
while read -r line; do
username=$(echo $line | sed -nE "s/^.+ \((.+)\)$/\1/p")
all_groups=$(groups $username | grep doc-ug2 || true)
if [ -n "$all_groups" ]; then
group=$(echo $all_groups | sed -nE "s/^.+g18271(..).*$/\1/p")
echo "$group $line"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment