bug in LINENO in busybox 1.29.3

daggs daggs at gmx.com
Wed Nov 28 13:12:23 UTC 2018


Greetings,

I've encountered a strange bug in busybox 1.29.3 when using the LINENO var, the reproduction is simple, see the below bash file:
#!/bin/bash

TEST="aaaa"
# comment
echo "${LINENO} TEST=${TEST}"

this should print "4 TEST=aaaa" instead of "5 TEST=aaaa"

Dagg.


More information about the busybox mailing list