[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
numbering lines
From: |
David Raleigh Arnold |
Subject: |
numbering lines |
Date: |
Sat, 17 Apr 2004 22:21:27 -0400 |
User-agent: |
KMail/1.5.4 |
numtxt is a tiny python script just for creating a file with numbered
lines.
$ numtxt 1 1 ' % meas ' 4 ''
Produces:
%meas 1
%meas 2
%meas 3
%meas 4
Pasting the above into a similar command line:
$ numtxt 1 1 ' % part ' 3 ' meas 1
%meas 2
%meas 3
%meas 4'
gets:
% part 1 meas 1
%meas 2
%meas 3
%meas 4
% part 2 meas 1
%meas 2
%meas 3
%meas 4
% part 3 meas 1
%meas 2
%meas 3
%meas 4
This was to use with sly, but it might save some typing to
use lyinclude to paste something of this sort into a source
before even writing the notes.
http://www.openguitar.com/files/numtxt
daveA
--
Paying more at the gas pump? Bush's Oil Sheikh Buddies, who support Al
Qaeda, Palestinian terrorists, & hate-U.S. school systems everywhere,
need more of your money now to arm and pay Iraqis to kill Americans.
D. Raleigh Arnold dra@ (http://www.) openguitar.com address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- numbering lines,
David Raleigh Arnold <=