Thread View: news.software.nn
2 messages
2 total messages
Started by Raoul Schaffner
Wed, 02 Feb 1994 16:50
Q: How to find out numbers of selected articles?
Author: Raoul Schaffner
Date: Wed, 02 Feb 1994 16:50
Date: Wed, 02 Feb 1994 16:50
14 lines
1230 bytes
1230 bytes
I need to find out the filenames (numbers) of the selected messages at a given time. My first shot was: o Select the messages o Jump to next group with N (this updates ~/.nn/select) o Parse ~/.nn/select for selected messages w/ an external script Unluckily, ~/.nn/select does not contain the filenames, but the range of the messages. Do you know where to lookup the numbers of the selected messages? I need to feed them to a sh script that gets invoked by !<cmd> Thanks for any hints, Raoul Schaffner
Re: Q: How to find out numbers of selected articles?
Author: Nancy McGough
Date: Tue, 08 Feb 1994 08:35
Date: Tue, 08 Feb 1994 08:35
24 lines
1758 bytes
1758 bytes
raoul@eawag.ch (Raoul Schaffner) writes: >I need to find out the filenames (numbers) of the selected messages at >a given time. My first shot was: > >o Select the messages >o Jump to next group with N (this updates ~/.nn/select) >o Parse ~/.nn/select for selected messages w/ an external script > >Unluckily, ~/.nn/select does not contain the filenames, but the range of >the messages. Do you know where to lookup the numbers of the selected >messages? I need to feed them to a sh script that gets invoked by !<cmd> If you put ``a'' in your header-lines setting the full path of the article will show up in your header, e.g.: set header-lines aFOnW*Y Also you should be able to send <spool-path>/$F/$N to your script. If you just want to pipe the article to a script you can use |script and don't even have to mess with the actual filename. See FILE NAME EXPANSION in the man pages. Good luck, Nancy
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads