summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-07-11 15:14:34 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-07-11 15:14:34 +0200
commitcc520551096424429ed440b5e12fabd124f850c9 (patch)
treec98250317c4ede97500ff68c7168ea335ad80b92 /bin
parent2c7f9f240ea4588a96389fc79a839cf78dc7c2d6 (diff)
envstore(1): Added LIMITATIONS
Diffstat (limited to 'bin')
-rwxr-xr-xbin/envstore12
1 files changed, 12 insertions, 0 deletions
diff --git a/bin/envstore b/bin/envstore
index cc5ad96..c8dd7c6 100755
--- a/bin/envstore
+++ b/bin/envstore
@@ -150,6 +150,18 @@ F</tmp/envstore-$UID>
=back
+=head1 LIMITATIONS
+
+You should not store null bytes or similar extremely weird binary data. They
+might work fine, but there's a high chance that somewhere, something goes wrong
+and you start to lose bytes or get undefined behaviour.
+
+Also, since shells 'flatten' the input when using eval, newlines in variable
+values will be stored correctly, but silently dropped when loading the
+environment with eval. You can work around that by doing
+C<< envstore eval E<gt> $tmpfile; source $tmpfile >> or (in zsh)
+C<< source E<lt>(envstore eval) >>.
+
=head1 AUTHOR
B<envstore> was written by Daniel Friesel E<lt>derf@derf.homelinux.orgE<gt>