Skip to Content.
Sympa Menu

baslinux - Re: [BL] I love links2 and httpd

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: baslinux AT lists.ibiblio.org
  • To: <baslinux AT lists.ibiblio.org>
  • Subject: Re: [BL] I love links2 and httpd
  • Date: Tue, 10 Mar 2009 10:29:35 -0300

Congratulations Steven

Works fine, the problem was, I donĀ“t know for what reason, my file list_dir.sh had "." (points) at the end of each line, and this was generating the error

Thanks and best regards,

Marcelo Campos
marcelo AT smartradio.com.br

----- Original Message ----- From: <baslinux AT lists.ibiblio.org>
To: <baslinux AT lists.ibiblio.org>
Sent: Monday, March 09, 2009 8:54 PM
Subject: Re: [BL] I love links2 and httpd


Message from Steven
===================
Marcelo Campos wrote:

I put a (txt) file called list_dir.sh with your
script and did the chmod 777 for this file but,
when I execute the terminal show a error message:
4: Syntax error "word unexpected (expecting "do")"

There is indeed a "do" in line 4
--------------
for i in *; do
--------------
Did you type in the script by hand?
Or did you block=copy it?

I just block-copied the script from your email
into an executable file and it worked fine.

Cheers,
Steven

-----------------------
BasicLinux mailing list
-----------------------
http://www.basiclinux.com.ru
http://www.ibiblio.org/pub/linux/distributions/baslinux/
------------------------------------
To exit, send subject=unsubscribe to
baslinux-request AT lists.ibiblio.org





Archive powered by MHonArc 2.6.24.

Top of Page