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 12:54:42 +1300

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




Archive powered by MHonArc 2.6.24.

Top of Page