Affordable Web Site Design & Hosting. Domain Registrations [ $11/year ] 86QM

2005-10-24 Thread javier
___ Domain Registrations [ $11/year ] Unbeatable Hosting Deals!!! Full site hosting from [ $4.45/month ] (50 MB 1GB Transfer) PHP, Mysql, Majordomo Mail List Server, POP, IMAP, SMTP, CGI, Perl... Save $50 on Ensim Control Panel license on all hostin

PIPESTATUS within assignment statements.

2006-10-11 Thread Javier . Barroso
a=$(COMMAND1 | COMMAND2 | COMMAND3) How can I get return status from COMMAND2? Configuration Information [Automatically generated, do not change]: Machine: i486 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i486' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i48

Processing a file into smaller chunks

2010-05-05 Thread Javier Montoya
Dear all, I'm a newbie with bash programming and I'm trying to process a file into smaller chunks. Let's say I've to process the file below ('X' and 'Y' are any possible float number): 0 0 0 0 0 0 0 0 0 0 0 0 X X X X X 1.70 0 0 0 0 0 0 X X X X X 1.60 0 0 0 0 0 0 X X X X X 1.30 Y Y Y Y Y 1.90 0 0

string to integer

2010-05-05 Thread Javier Montoya
Dear all, I have a several directories with *.jpg images. The image files are named as ascending numbers and I would like to retrieve the lowest and largest image number in each directory. An example of the content of a directory is given below: /bla/bla/bla/dir1 -> 0.jpg -> 1.jpg -> -> 09

Re: string to integer

2010-05-05 Thread Javier Montoya
On Mar 19, 12:39 pm, Javier Montoya wrote: > Dear all, > > I have a several directories with *.jpg images. The image files are > named as ascending numbers and I would like to retrieve the lowest and > largest image number in each directory. An example of the content of a >

Re: string to integer

2010-05-05 Thread Javier Montoya
On Mar 19, 6:04 pm, DennisW wrote: > On Mar 19, 6:50 am, Javier Montoya wrote: > > > > > On Mar 19, 12:39 pm, Javier Montoya wrote: > > > > Dear all, > > > > I have a several directories with *.jpg images. The image files are > > > named as