Incorrect Grep Pattern #5

Closed
opened 2026-02-02 15:19:37 -05:00 by jared · 0 comments
Owner

for iface in $(ls /sys/class/net | grep -v lo | grep -v -E "^veth|^fwbr|^fwln|^fwpr|^tap"); do

Bug: Parsing ls output is unreliable. Use glob patterns or find instead.

for iface in $(ls /sys/class/net | grep -v lo | grep -v -E "^veth|^fwbr|^fwln|^fwpr|^tap"); do Bug: Parsing ls output is unreliable. Use glob patterns or find instead.
jared closed this issue 2026-02-02 15:35:40 -05:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: LotusGuild/proxDoc#5