[Bug 1733096] Re: Gawk interval expression metacharacter is not working as expected

Seth Arnold 1733096 at bugs.launchpad.net
Tue Nov 21 01:07:48 UTC 2017


It's otherwise a very nice bug report :)

** Information type changed from Private Security to Public

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gawk in Ubuntu.
https://bugs.launchpad.net/bugs/1733096

Title:
  Gawk interval expression metacharacter is not working as expected

Status in gawk package in Ubuntu:
  Invalid

Bug description:
  The interval expression metacharacter {} is not working as expected.
  The problem specifically being when the interval is defined on the
  first character of the string/record. Otherwise if the interval is
  defined on any other character apart from the first in the string then
  its working as expected.

  INPUT FILE DATA: metacharfile
  jas
  jjas
  jjjas
  jjjjas
  jjjjjas

  COMMAND: 
  # gawk '/j{1,3}as/' ./metacharfile

  EXPECTED RESULT:
  jas
  jjas
  jjjas

  ACTUAL RESULT:
  jas
  jjas
  jjjas
  jjjjas
  jjjjjas

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: gawk 1:4.1.3+dfsg-0.1
  ProcVersionSignature: Ubuntu 4.4.0-98.121-generic 4.4.90
  Uname: Linux 4.4.0-98-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.10
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Sat Nov 18 22:20:46 2017
  InstallationDate: Installed on 2016-02-07 (649 days ago)
  InstallationMedia: Ubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
  SourcePackage: gawk
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gawk/+bug/1733096/+subscriptions



More information about the foundations-bugs mailing list