On Tue, Aug 12, 2003 at 07:08:07PM -0600, Battery Acid wrote:
> here's the errors:
> ./rc.autofs: line 20: [: missing `]'
> cut: !=: No such file or directory
> cut: x-: No such file or directory
> cut: ]: No such file or directory
> wc: invalid option -- g
> Try `wc --help' for more information.
> and here's the script in the /etc/rc.d/ dir named rc.autofs
>
>          ........../.........
>
>            if [ ! -z "$dir" -a ! -z "$map" \ -a xcho "$map" | cut -c1 != 'x-' ]

I don't know if it's the mail formatting or if it's a new shell syntax but it 
seems to miss many backquote (`). The line above isn't supposed to be :
 
            if [ ! -z "$dir" -a ! -z "$map" \ -a x`echo "$map" | cut -c1` != 'x-' ]

and so on for the next lines...

-- 
Julien

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
autofs mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to