Skip to Content.
Sympa Menu

baslinux - Re: [BL] Re: Using libc5 programs in BL2 (netpbm)

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: "David Moberg" <davidjmoberg AT lycos.com>
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] Re: Using libc5 programs in BL2 (netpbm)
  • Date: Tue, 26 Apr 2005 13:13:55 -0500

----- Original Message -----
From: "sindi keesan" <keesan AT sdf.lonestar.org>

> I got it working with $1 $2
>
> #!/bin/sh
> LD_LIBRARY_PATH="/usr/libc5" $1 $2
>
>
> named script libc5
>
> libc5 pngtopnm file.png > file.ppm
>
> This worked perfectly.
> How to do it in batch mode?
>
> for i in *.png; do libc5 pngtopnm *.png > ????

for i in *.png; do libc5 pngtopnm $i > $i.pnm

(*.png > *.png.pnm)
(remove the redirection > to have all the pnms
concatenated to stdout)

> With $0 $1 I got:
>
> /..../libc5: fork: Resource temporarily unavailable

$0 $1 would create an infinite loop, which is the symptom
seen here. Looks like you ran out of resources, so the
loop died?

> after about 10 sec wait.

--
_______________________________________________
NEW! Lycos Dating Search. The only place to search multiple dating sites at
once.
http://datingsearch.lycos.com





Archive powered by MHonArc 2.6.24.

Top of Page