Portál AbcLinuxu, 2. listopadu 2025 21:21
Řešení dotazu:
echo a ; date ; echo b
Zdravím, nemohu nikde najít…
Můžeš. Například v man bash, kapitola SHELL GRAMMAR, sekce Lists:
...
Lists
A list is a sequence of one or more pipelines separated by one of the
operators ;, &, &&, or ||, and optionally terminated by one of ;, &, or
<newline>.
Of these list operators, && and || have equal precedence, followed by ;
and &, which have equal precedence.
A sequence of one or more newlines may appear in a list instead of a
semicolon to delimit commands.
...
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.