bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash - bad interpreter: no such file og catalog


From: Francis Montagnac
Subject: Re: bash - bad interpreter: no such file og catalog
Date: 6 Aug 2002 16:47:31 GMT

In article <c982dbde.0208060809.5ad08670@posting.google.com>,
 dmuren@start.no (Djm) writes:
...
>I get a syntax error when running /bin/bash ./ok.
>: No such file or catalog
>/ok: Checking: command not found
      ^^^^^^^^
>#!/bin/bash
>/*
>Checking cached mail
 ^^^^^^^^
You are using the C syntax for comments. This is not what bash
expects: use instead # to comment till end of line.

-- 
Francis.Montagnac@sophia.inria.fr, Tel: (33) 04 92 38 79 11, Bur: E106
INRIA Sophia, 2004, rte des Lucioles, B.P.93 - 06902 Sophia Antipolis Cedex

PS: 

   if test x"$1" = x

could be written:

   if [ "$1" ]



reply via email to

[Prev in Thread] Current Thread [Next in Thread]