Hi Joerg,
Joerg Schilling wrote:
>
> >From: Gleydson Mazioli da Silva <[EMAIL PROTECTED]>
>
> >> Hmm, isn't "mktemp" the standard tool do this?
>
> >Humm, it do the same job for Linux systems, I need to know if it exist
> >on
> >*BSD systems too (I don't had a BSD system to look for that now...)
>
> Your thoughts are goint the wrong way!
>
> There is neither of both on UNIX so you should'nt use them.....
Ok, i will adapt the cdcontrol to use it
> UNIX shell scripts are creating tmp files by using a file name
> line /tmp/xxx.$$
>
> The next nonportable thing you are doing is putting
>
> #!/bin/bash
>
> in the first line. There is no /bin/bash on UNIX, you should
> use /bin/sh. I am sure that ther is no need to use bash nonstandard
> shell extensions in your shell sript.
I've made tests with csh but some internal functions that cdcontrol uses
don't exist on it :-(
The BSD default is sl linked to csh, and the cdcontrol was broken :-(
> Next point: cdrecord _is_ highly portable. If you don't put nonstandard
> things into your shell script, it will work on any system.
I would like to you sent that points that cdcontrol could be changed do
be
portable. I had no one experience with system ports
Sorry for my poor english too :-(
---------------------------
Gleydson Mazioli da Silva
[EMAIL PROTECTED]
[EMAIL PROTECTED]
* Quando o futuro vira passado, � f�cil ver o que tinha que ser feito.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]