Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: sh -e changes broke pkgsrc
jmc%NetBSD.org@localhost said:
> The shell has 2 notions of sub-commands:
> () {}
> [...]
> -e should transition it's
> behavior inside () for a simple command executed there (and thereby
> setting it's exit status), but otherwise the same rules applied (where
> compound statements were not affected by -e)
Agreed, as I understand it, a "{}" is to the shell more or less
what a cpp macro is to a C program. "()" is like a real function call.
best regards
Matthias
-------------------------------------------------------------------
-------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr. Harald Bolt,
Dr. Sebastian M. Schmidt
-------------------------------------------------------------------
-------------------------------------------------------------------
Home |
Main Index |
Thread Index |
Old Index