[Slackbuilds-users] Default Slackware 'gawk' build options affecting output?
David Woodfall
dave at dawoodfall.net
Mon Jul 23 17:19:34 UTC 2018
On Monday 23 July 2018 09:01,
Rich Shepard <rshepard at appl-ecosys.com> put forth the proposition:
> In a gawk script I'm writing I need to use the switch statment. This web
> page,
> <http://gnu.ist.utl.pt/software/gawk/manual/html_node/Switch-Statement.html>,
> says, "This subsection describes an experimental feature added in gawk
> 3.1.3. It is not enabled by default. To enable it, use the --enable-switch
> option to configure when gawk is being configured and built."
>
> Looking at the 14.2 gawk-4.1.3 slackbuild script at
> <https://slackware.osuosl.org/slackware-14.2/source/a/gawk/gawk.SlackBuild>
> switch is not enabled; no options are enabled.
>
> Should I rebuild gawk-4.1.3 enabling switch?
Not really a slackbuilds.org question. Did you mean to send it to the
slackware list?
However, switch is enabled 4.1.3.
> And this is the script:
>
> # Get line length (number of fields)
> switch NR {
Try switch (NR) {
-Dave
--
There are no threads in a.b.p.erotica, so there's no gain in using a
threaded news reader.
-- unknown source
.--. oo
(____)//
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'
More information about the SlackBuilds-users
mailing list