sebastiancarlos@lemmy.sdf.org to Linux@lemmy.ml · edit-21 year agocat vs sed vs awklemmy.sdf.orgimagemessage-square16fedilinkarrow-up130arrow-down10
arrow-up130arrow-down1imagecat vs sed vs awklemmy.sdf.orgsebastiancarlos@lemmy.sdf.org to Linux@lemmy.ml · edit-21 year agomessage-square16fedilink
minus-squaregmg@beehaw.orglinkfedilinkarrow-up0·1 year ago$ n=0; while read -r l; do n="$((n+1))" printf ' %d %s\n' "$n" "$l"; done < /etc/os-release 0 NAME="openSUSE Tumbleweed" 0 # VERSION="20230619" 0 ID="opensuse-tumbleweed" [...]
$ n=0; while read -r l; do n="$((n+1))" printf ' %d %s\n' "$n" "$l"; done < /etc/os-release 0 NAME="openSUSE Tumbleweed" 0 # VERSION="20230619" 0 ID="opensuse-tumbleweed" [...]
; was missing