Moin Martin!
On Thu, Jul 19, 2007 at 08:00:30PM +0200, Martin wrote:
> funktioniert auf der Kommandozeile wie blöd. Im Shellskript dagegen
> nicht (mehr).
...
> ==========
> + alias 'logbuch=tee -a /irgendeine/datei | logger -p local0.info -t BLA'
> + logbuch
> .../bla: line 7: logbuch: command not found
> ==========
RTFM: bash(1)
ALIASES:
...
Aliases are not expanded when the shell is not interactive,
unless the expand_aliases shell option is set using shopt (see the
description of shopt under SHELL BUILTIN COMMANDS below).
BYtE
Philipp
-- / / (_)__ __ ____ __ Philipp Hahn / /__/ / _ \/ // /\ \/ / /____/_/_//_/\_,_/ /_/\_\ pmhahn_at_titan.lahn.deReceived on Fri Jul 20 2007 - 08:48:15 CEST
This archive was generated by hypermail 2.2.0 : Fri Jul 20 2007 - 08:48:18 CEST