We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
echo '8.8.8.8 via 192.168.0.1 dev br-n_1 src 192.168.0.37 uid 0 cache ' | sed -nE 's/^.*dev\s*([^\s]*).*$/\1/p' | hexdump -C 00000000 62 72 2d 6e 5f 31 20 0a |br-n_1 .| 00000008
Changing the capture to ([^ \s]*) removes the space from the output.
([^ \s]*)
This is with Busybox 1.36.0 from Openwrt.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Changing the capture to
([^ \s]*)
removes the space from the output.This is with Busybox 1.36.0 from Openwrt.
The text was updated successfully, but these errors were encountered: