Erik Olof Wahlstrom schrieb:
Hello - I am having a problem with a backup script that I have put together -
when I run it as root from the terminal, it works as expected (with one
caveat); however, when cron runs it, the daily backup folder is created but
no files are deposited into that folder...
2009-07-17, 22:02(-04), Chris F.A. Johnson:
>
> $ printf -v q[2] "%s" "$RANDOM"
> bash: printf: `q[2]': not a valid identifier
>
>
> I know I can work around it with a temporary variable, but it
> would be nice if it could be done in a single step.
[...]
Just do a "touch q2" before and t
Hi,
I assume . command does not search current directory anymore
in bash 4 for a reason. Perhaps it is specified by relevant
standard, although I did not find it.
This incompatible change affects me a lot. I imagine
I am not alone with this.
To forestall questions from users like me, consider
ad
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Denys Vlasenko on 7/18/2009 11:48 AM:
> Hi,
>
> I assume . command does not search current directory anymore
> in bash 4 for a reason. Perhaps it is specified by relevant
> standard, although I did not find it.
It is specified by POSIX: