Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
1 files changed, 2 insertions, 2 deletions
-rwxr-xr-xcsg4
diff --git a/csg b/csg
index 4363b9f..3aacb04 100755
--- a/csg
+++ b/csg
@@ -155,8 +155,8 @@ do
done < <($CSG_AWK '
{
# Remove first field
- $1=""; sub("^["FS"]*", "", $0)
- #
+ $1=""; sub(FS, "")
+ # Associate current file with regex
if (awks[$0] == "") awks[$0] = FILENAME
else awks[$0] = awks[$0] " " FILENAME