Bash Scripting

Kezdőlap
Csatolmányok:
Üzenet email-ben
+ (text/plain)
Üzenet törlése
Válasz az üzenetre
Szerző: KevinO
Dátum:  
Tárgy: Bash Scripting
Lynn David Newton wrote:
> b> Unfortunately, bash doesn't put the executed
> b> output in the variable, it puts the text itself
> b> in. Any other ideas?
>
> I see in later mail you found a solution, but I see a
> problem here.
>
> >> #!/bin/sh


The topic of this message is bash scripting...
The 'proper' first line would be :

#!/bin/bash

Although /bin/sh is probably a symbolic link to bash...

;-)


--
Kevin O'Connor

"People will be free to devote themselves to activities that are fun ...

The GNU Manifesto - Copyright (C) 1985, 1993 Free Software Foundation, Inc.