Skip to Content.
Sympa Menu

sm-sorcery - Re: [SM-Sorcery]Replacement for wget

sm-sorcery AT lists.ibiblio.org

Subject: Discussion of Sorcery related topics

List archive

Chronological Thread  
  • From: "M.L." <mlubrano AT sourcemage.org>
  • To: "Sergey A. Lipnevich" <sergeyli AT pisem.net>
  • Cc: sm-sorcery AT lists.ibiblio.org
  • Subject: Re: [SM-Sorcery]Replacement for wget
  • Date: Sat, 23 Nov 2002 10:14:43 +0100

On Samedi 23 Novembre 2002 03:04, Sergey A. Lipnevich wrote:
> Could you file an "enhancement" type bug for sorcery and attach this
> stuff to it?

http://bugs.sourcemage.org/show_bug.cgi?id=1777

Use at your own risks ;)

>
> M.L. wrote:
> >On Vendredi 22 Novembre 2002 22:29, M.L. wrote:
> >>On Vendredi 22 Novembre 2002 19:59, Eric Sandall wrote:
> >>>Dufflebunk said:
> >>>>There is an external script... it's called summon.
> >>>>Is wget needed for anything other than the scripts?
> >>>>I suppose this would have been a 0.8 thing and it's too late now that
> >>>>we are in 0.9 :/
> >>>>Oh well.
> >>>
> >>>Correct. This should be put off until post 1.0 (perhaps 1.1? ;)), as
> >>> we should focus on fixing the current sorcery before adding new
> >>> features.
> >>
> >>Right Eric, this is precisely what I was about to write...
> >>We should now release 1.0. First of all.
> >>
> >>>-One of Four
> >>>a.k.a. sandalle
> >
> >BTW, this little trick works fine here ;)
> >in /var/lib/sorcery/modules/url_handlers/url_http:
> >
> >#---------------------------------------------------------------------
> ># url_http_call_wget <filename> <extension-less filename> <url>
> >#
> ># Private Function. Call wget to download the url. Set's FILE
> ># as a side-effect.
> >#
> >#---------------------------------------------------------------------
> >url_http_call_wget() {
> > local FILENAME=$1
> > local STRIPPED_FILENAME=$2
> > local URL=$3
> >
> > url_http_erase $STRIPPED_FILENAME &&
> > # eval is used here due to screwy IFS (maybe)
> ># eval "wget $WGET_OPTIONS $URL" &&
> > eval "proz $URL" &&
> > FILE="$FILENAME"
> >}
>
> _______________________________________________
> SM-Sorcery mailing list
> SM-Sorcery AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-sorcery

--
//
// M.L.
// Linux User #36502 ; ICQ #23832402
//




Archive powered by MHonArc 2.6.24.

Top of Page