Good evening.
I found a strange bug with the gawk from this feed (same behavior with the other cs**q*armel):
http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/
...when running on 2 different Synology NAS: a DS214 and a DS214+, with system DSM4.3.
Description: the "print $1" (or any other token number) splits nothing and prints the whole line.
Example with the demo at the end of the default display:
gawk -F: '{ print $1 }' /etc/passwd
prints the whole content of passwd, instead of only a list of user names.
I tried to add a {print FS} and the FS selected, either by -F: or explicitly with BEGIN{FS=":"} is properly replied.
But it is visibly ignored when/if trying to split the inbound text.
The gawk (same version 4.0.1) from 2 others feeds I could try, work fine under same conditions.
For instance, used on a DS110+ with same version of DSM, works fine:
http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable
I verified on the 2 NAS that there is no interference: this is actually the gawk from the feed that executes.
In all cases, gawk was installed properly using the ipkg from the same feed.
I also installed other packages: nail, rsync, nano... that all work fine.
Any idea of the reason, that could lead to a workaround ?
Thanks, Best regards.
--
* Patrick B
* France
I found a strange bug with the gawk from this feed (same behavior with the other cs**q*armel):
http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/
...when running on 2 different Synology NAS: a DS214 and a DS214+, with system DSM4.3.
Description: the "print $1" (or any other token number) splits nothing and prints the whole line.
Example with the demo at the end of the default display:
gawk -F: '{ print $1 }' /etc/passwd
prints the whole content of passwd, instead of only a list of user names.
I tried to add a {print FS} and the FS selected, either by -F: or explicitly with BEGIN{FS=":"} is properly replied.
But it is visibly ignored when/if trying to split the inbound text.
The gawk (same version 4.0.1) from 2 others feeds I could try, work fine under same conditions.
For instance, used on a DS110+ with same version of DSM, works fine:
http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable
I verified on the 2 NAS that there is no interference: this is actually the gawk from the feed that executes.
In all cases, gawk was installed properly using the ipkg from the same feed.
I also installed other packages: nail, rsync, nano... that all work fine.
Any idea of the reason, that could lead to a workaround ?
Thanks, Best regards.
--
* Patrick B
* France
__._,_.___
Posted by: Patrick B <patrickb0000@yahoo.fr>
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (1) |
.
__,_._,___
No comments:
Post a Comment