Am 13. Apr, 2002 schwätzte Bryce C. so: > Unfortunately, bash doesn't put the executed output in the variable, it > puts the text itself in. Any other ideas? bash doesn't, but notice the backticks ( ` ). Those say to run the command in a subshell and return the output, which then gets assigned to the variable. You can also use the $() syntax, e.g.: DATE=$( date +%d%b%Y-%H.%M ) ciao, der.hans -- # https://www.LuftHans.com/ # Knowledge is useless unless it's shared. - der.hans