ID
argument (totally ignored before https://github.com/ddnet/ddnet/pull/3053). Namely: it add the names into m_aNames. But then in order to pack them, the manager u...#!/bin/bash
# Advent of Code 8p1
shopt -s lastpipe
t=(2 4 3 7)
cut -d'|' -f2 "$1" | tr '\n' ' ' | xargs | tr ' ' '\n' | while read -r l; do
[[ " ${t[*]} " =~ " ${#l} " ]] && i=$((i+1))
done
echo Part 1: $i
wowo, didn't expect that to work after reading the problem for 4324hours .__.