count duplicates anchored by specified field
[barcat.git] / t / t1668-uniq_regex.out
diff --git a/t/t1668-uniq_regex.out b/t/t1668-uniq_regex.out
new file mode 100644 (file)
index 0000000..7bbd521
--- /dev/null
@@ -0,0 +1,11 @@
+barcat -c -f'\S\K(.*)' input/duplicolumns.txt
+2 prefix 1 1 ------------+--=-----------
+1 random 2 2 ------------+-
+1 prefix 3 1 ------------+-
+1 text 1 2   ------------+-
+1 prefix 2 1 ------------+-
+2 prefix 3 2 ------------+--=-----------
+1 prefix 2 2 ------------+-
+1 prefix 3 0 ------------+-
+1 prefix 1 2 ------------+-
+1 prefix 2   ------------+-