summaryrefslogtreecommitdiff
path: root/sample/cat2.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/cat2.rb')
-rw-r--r--sample/cat2.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/sample/cat2.rb b/sample/cat2.rb
index f979dc53cb..bbc1ebb0ff 100644
--- a/sample/cat2.rb
+++ b/sample/cat2.rb
@@ -1,3 +1,4 @@
+# cat -n & `...' operator test
while gets()
if 1 ... /^\*/; print("--") end
printf("%5d: %s", $., $_)