Re: Trying to replace a bashism in bourne sh
- Reply: D'Arcy Cain : "Re: Trying to replace a bashism in bourne sh"
- In reply to: D'Arcy Cain : "Trying to replace a bashism in bourne sh"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 07 Nov 2023 13:26:35 UTC
D'Arcy Cain <darcy@druid.net> writes: > I need to do this; > > ifconfig_eth3="inet $((16#c0a8c0${me} + 100))/24" > > Problem is that I need to do this at boot time but then it runs as > bourne sh. Does anyone have an equivalent for sh? Just replace '16#' with '0x'. DES -- Dag-Erling Smørgrav - des@FreeBSD.org