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: sindi keesan <keesan AT sdf.lonestar.org>
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] Re: Using libc5 programs in BL2 (netpbm)
  • Date: Tue, 26 Apr 2005 17:47:17 +0000 (UTC)

On Tue, 26 Apr 2005 3aoo-cvfd AT dea.spamcon.org wrote:

David Moberg wrote:

$1 = program name,
$2 = first argument to a program.

I believe $0 is the program name. $1 is the
first parameter. And so on.

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 > ????


With $0 $1 I got:

/..../libc5: fork: Resource temporarily unavailable

after about 10 sec wait.




Cheers,
Steven

____________________________
http://www.basiclinux.com.ru
_______________________________________________
BasLinux mailing list
BasLinux AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/baslinux


keesan AT sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org




Archive powered by MHonArc 2.6.24.

Top of Page