]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
- added warning about parenthesis in command substitution
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 1 May 2007 01:02:44 +0000 (01:02 +0000)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 1 May 2007 01:02:44 +0000 (01:02 +0000)
svn-id: @8488

DEVELOPMENT

index 830f01a0928284e1ddd6a716b37474a458dff620..4b7bd954d6afd7868e43fd09ac01952edcadb2b0 100644 (file)
@@ -24,6 +24,15 @@ something=$(whoami)
 instead of
 something="`whoami`"
 
+Warning! The following snippet will not work, use `` in such cases:
+There is one ')' too many there.
+
+interfaces_boot=$(
+       case $i in
+               *ifcfg-lo) continue ;;
+       esac
+)
+
 4)
        consider using typeset -i variable for integer variables
 
This page took 0.040515 seconds and 4 git commands to generate.