summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-01-06 23:42:21 +0100
committerJohn Ankarström <john@ankarstrom.se>2021-01-06 23:42:21 +0100
commitdaf5cba32543d5b8a51f08421cdcf13194cb3bde (patch)
tree68df5191b01f508eaa78ae7dfbfde6a1dcd77c7b
parenta165daec269307e3d26ae4e630aab111e4fd6062 (diff)
downloadef-master.tar.gz
Have selectors output line numbers instead of linesHEADmaster
This makes it possible for the ef shell to know which lines are being processed.
-rwxr-xr-xbin/slt/r2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/slt/r b/bin/slt/r
index 5d2c184..0f84423 100755
--- a/bin/slt/r
+++ b/bin/slt/r
@@ -7,4 +7,4 @@ test $# -ne 2 && { echo "usage: $0 start end" 1>&2; exit 1; }
start=`absln $1`
end=`absln $2`
-sed -n "$start,${end}p"
+seq $start $end