The numbering tag has no wiki summary.
0
votes
1answer
27 views
emacs line wrapping and numbering
How can I tell emacs to wrap lines at the 80th character?
I am looking for a solution I can put in /.emacs.
I put this in /.emacs but it doesn't work.
;; ========== Enable Line Numbering ========== ...
3
votes
3answers
260 views
swapping fields in columns by fixed pattern (yes, no, no, yes)
I want to produce a following list of pages (for imposition work); (number of pages is variable, but I make a sample of my needs using a list of 16 pages, logic is the same for longer lists)
1,16
8,9
...
2
votes
3answers
148 views
repeat twice each couple of strings in a for cycle
I need to pass to pdftk, a list of arguments constituted by strings repeated twice like:
A1-2 B1-2 A3-4 B3-4 A5-6 B5-6... and so on...
I managed to achieve this with this workaround
for ((x=1, ...
3
votes
6answers
397 views
Add consecutive numbers succintly and elegantly to index lines
I usually do this
$ wc questions
33 36 3105 questions
$ seq 1 33 > nums
$ paste nums questions
1 Content
2 ...
.
.
33 End Content
but I feel there could be faster way to do ...