apport information

** Tags added: apport-collected

** 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:

** Attachment added: "Dependencies.txt"
   
https://bugs.edge.launchpad.net/bugs/1048135/+attachment/3304837/+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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to