Potrebova bych poradit s mensim problemem
pokud v prikazovem radku napisu
alias x=date
a pak x,
tak me to bez problemu vykona prikaz date ulozeny v x
pokud ale toto same udelam ve scriptu, tak me to napise
x command not found, porad nemuzu duvod proc to nefunguje
diky
Michal
bash(1):
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).