[O] A quick way to empty contents of entries?

2011-11-04 Thread gylns
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?

2011-11-04 Thread gylns
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?

2011-11-05 Thread gylns
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