[O] A quick way to empty contents of entries?
Hi, all I want to empty all my contents but leave only with the headlines and the properties, is there a fast way? Cheers, gylns
Re: [O] A quick way to empty contents of entries?
Carsten Dominik gmail.com> writes: > > > For one file: > > perl -ne 'print if /^\*+ / or /^\s*:PROPERTIES:\s*$/../^\s*:END:\s*$/' old.org > stripped.org > > Thanks Carsten, It works!
[O] How to remove duplicate entries?
ed twice C-u and then C-c ^ , sorted by alpha, but no entries be removed. Any one can tell what's wrong about my understanding? Cheers, gylns