apport information

** Tags added: precise

** Description changed:

  echo "30 29 27 26 23" | mawk '{gsub ("^[^ ]+ ", ""); print $0}' 
  leads to print "23" instead of "29 27 26 23"
  According to the man the leading "^" matches the front of a string, but it 
seems to be ignored.
  
  This works OK with gawk.
  --- 
  Architecture: i386
  DistroRelease: Ubuntu 10.04
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
  Package: mawk 1.3.3-15ubuntu2
  PackageArchitecture: i386
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.utf8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.32-42.96-generic 2.6.32.59+drm33.24
  Tags: lucid
  Uname: Linux 2.6.32-42-generic i686
  UserGroups:
+ --- 
+ ApportVersion: 2.0.1-0ubuntu12
+ Architecture: i386
+ DistroRelease: Ubuntu 12.04
+ InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 
(20120423)
+ Package: mawk 1.3.3-17
+ PackageArchitecture: i386
+ ProcEnviron:
+  TERM=xterm
+  PATH=(custom, no user)
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
+ ProcVersionSignature: Ubuntu 3.2.0-30.48-generic-pae 3.2.27
+ Tags:  precise
+ Uname: Linux 3.2.0-30-generic-pae i686
+ UpgradeStatus: No upgrade log present (probably fresh install)
+ UserGroups:

** Attachment added: "Dependencies.txt"
   
https://bugs.launchpad.net/bugs/1048135/+attachment/3304847/+files/Dependencies.txt

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

Title:
  Incorrect handling of "^[^ ]+ " in gsub

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to