[OpenWrt-Devel] [PATCH] package/config/netifd: Replace ifconfig/route with ip command

Bastian Bittorf bittorf at bluebottle.com
Wed Jan 20 04:29:00 EST 2016


* Daniel Dickinson <openwrt at daniel.thecshore.com> [20.01.2016 10:18]:
> >>+	local prefix="$(
> >>+		eval "$(ipcalc.sh 0.0.0.0 ${subnet:-255.255.255.0})"
> >>+		echo -n $PREFIX
> >
> >dont use '-n'
> 
> Why not?  It prevents echo from emitting an unwanted newline.

by the way:
is somebody fluent enough in AWK to fix this ipcalc-issue
https://dev.openwrt.org/ticket/20750

maybe i should ask 'TheMozg' 8-)
https://github.com/TheMozg/awk-raycaster

bye, bastian
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list