Skip to contentSkip to conversation

question: shell restriction for modules

DISCUSSION Michal Soltys 2 participants 2 messages May 31, 2011 – Jun 1, 2011 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Just to be sure - should it be strict posix (in such case, afaik - even 'local' wouldn't be allowed) or should I follow dash (which seems to be the de-facto constraint on the syntax allowed).

Or perhaps something else ?

#2 lore raw
In reply to a message not in the archive

Excerpts from Michal Soltys's message of Wed Jun 01 00:51:53 +0200 2011:

Quoted 5 lines

Just to be sure - should it be strict posix (in such case, afaik - even 'local' wouldn't be allowed) or should I follow dash (which seems to be the de-facto constraint on the syntax allowed).

Or perhaps something else ?

Just follow common subset of features of main shells we can use: bash, dash and possibly ash (which comes with busybox).

Btw, have in mind that 'local' in dash takes only one variable.

Cheers,

Signature · 3 lines
Amadeusz Żołnowski

PGP key fpr: C700 CEDE 0C18 212E 49DA  4653 F013 4531 E1DB FAB5