Re: Has anyone tried to use "-L" ?

Gerard Lanois <[email protected]> Tue, 24 Jun 2003 11:19:16 -0700 (PDT)
Newsgroups gmane.network.ubh
Message-ID <[email protected]>
Gah!  That's a bug.

You can fix it by changing this line 

    my $error = !getopts('SgMAb:dDc:G:aI:X:CO:zyuw', \%opt);

to look like this (add a capital 'L')

    my $error = !getopts('SgMAb:dDc:G:aI:X:CLO:zyuw', \%opt);

The workaround for the time being is to use OPT_L in your ubhrc.
(That's the way I've always used it; that's why I missed this bug).

I can't currently make any checkins, as I don't have CVS set up
on my current computer.  If someone else would like to check this
change in please let me know so I can add you to the project and
give you check in access.

Thanks, and sorry,

-Gerard

--- freisgd <[email protected]> wrote:
> This is what I get....
> 
> perl ubh -L
>
------------------------------------------------------------------------------
> ubh 3.0b1, (C) 2000-2003 Gerard Lanois
> This software comes with ABSOLUTELY NO WARRANTY; for details use -w.
> This is free software, and you are welcome to redistribute
> it under certain conditions; see the file LICENSE for details.
>
------------------------------------------------------------------------------
> Unknown option: L
> Usage: ubh [switches]
> 
> These options apply to single-part article processing:
>     -S  Process only single part articles.
>     -g  Greedy - download and process article even if the subject
>         does not have a filename match.
> 
> These options apply to multi-part article processing:
>     -M  Process only multiple part articles.
> 
> These options apply to both single and multi part processing:
>     -A Assemble articles on disk rather than in memory.
>     -b <file> Batch mode. <file> should contain a list of article
>        subjects, one per line, to be downloaded.
>     -d Diagnostic mode; dumps all raw articles in group.
>     -D Multipart diagnostic mode; dumps all parts of selected
>        multipart articles
>     -c <file> Use file as config file instead of default (ubhrc).
>     -G <group> Process this one group.
>     -a Process all articles (disregards whether article is marked read).
>     -I <regexp> Inclusion search filter for Subject (double quote on
> command line)
>     -X <regexp> Exclusion search filter for Subject (double quote on
> command line)
>     -K <regexp> Inclusion search filter for From (double quote on
> command line)
>     -N <regexp> Exclusion search filter for From (double quote on
> command line)
>     -C Clean filenames (change all non alphanumeric to '_')
>     -L Long filenames (use subject as the filename)
>     -O [yes|no|skip] Overwrite strategy
>     -z Mark articles that do not pass inclusion/exclusion as read.
>     -y chmod 0666 all output files
>     -u Print out usage summary and exit.
>     -w Print out warranty information.
> 
> Examples:
>     ubh -M -I "(?i)rem|r\.e\.m\."
>     ubh -S -g -c myubhrc
> 
> 


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Looking for the latest Free IT White Papers?
Visit SearchNetworking.com to access over 500 white papers.
Get instant access at SearchNetworking.com Today
http://us.click.yahoo.com/99UKOC/OLNGAA/fzPGAA/IHFolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
[email protected]

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/