summaryrefslogtreecommitdiff
path: root/split_pipes
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2015-01-15 09:36:16 +0100
committerPatrick Simianer <p@simianer.de>2015-01-15 09:36:16 +0100
commit81f6bed7bd657ecb30a40a792ad7394c80e0a5e9 (patch)
treed6d9ab4230b125b57cf11ee1518e0c7da39f9167 /split_pipes
parent5654c8d55b8fefa6956fd9285ee5cf2b8084a4bf (diff)
fix
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
+