← Back to team overview

sslug-teknik team mailing list archive

Re: Fejl i script, find den...

 

Verner Kjærsgaard <vk@xxxxxxxxxxxxx> writes:

> dell102:/home/vk/Pgms/scripts # cat kill-a-user.sh
[...]
> dell102:/home/vk/Pgms/scripts # ./kill-a-user.sh egon
> ./kill-a-user.sh: line 6:  : command not found
> ./kill-a-user.sh: line 7:  : command not found
> ./kill-a-user.sh: line 8:  : command not found
> ./kill-a-user.sh: line 9:  : command not found
> dell102:/home/vk/Pgms/scripts # 

iPrøv lige med 'cat -A' istedet for 'cat'. Så kan vi se om der er
nogle sjove tegn i starten af linjen.

//Makholm


Follow ups

References