summaryrefslogtreecommitdiff
path: root/split_pipes
diff options
context:
space:
mode:
Diffstat (limited to 'split_pipes')
-rwxr-xr-xsplit_pipes8
1 files changed, 5 insertions, 3 deletions
diff --git a/split_pipes b/split_pipes
index dd93d92..a1a0128 100755
--- a/split_pipes
+++ b/split_pipes
@@ -41,9 +41,11 @@ while line = STDIN.gets
end
j += 1
}
+ if range
+ puts "#{a.join " ||| "}\n"
+ end
+ a.clear
end
-if cfg[:to]
- puts a.join " ||| "
-end
+