[Linux-disciples] Re: Sorting lines matching a pattern
Adam Rosi-Kessel
adam at rosi-kessel.org
Sun Jul 24 22:50:37 EDT 2005
On Sun, Jul 24, 2005 at 10:48:28PM -0400, Stephen R Laniel wrote:
> That takes advantage of the particular structure of the
> thing, where the last line in the document happens to also
> be a '^\*' line. I'd really prefer to select all the '^\*'
> lines and sort them together, but this will do for now.
To do this, I would have it create a temporary document, copy all the
lines over to there, sort them, and then copy them back to the first
document.
Although if they're not wholly contiguous I'm not sure how it would know
where to put them.
--
Adam Rosi-Kessel
http://adam.rosi-kessel.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20050724/b338733e/attachment.pgp
More information about the Linux-disciples
mailing list