SVN: rc-scripts/trunk/DEVELOPMENT

baggins baggins at pld-linux.org
Tue May 1 03:02:44 CEST 2007


Author: baggins
Date: Tue May  1 03:02:44 2007
New Revision: 8488

Modified:
   rc-scripts/trunk/DEVELOPMENT
Log:
- added warning about parenthesis in command substitution


Modified: rc-scripts/trunk/DEVELOPMENT
==============================================================================
--- rc-scripts/trunk/DEVELOPMENT	(original)
+++ rc-scripts/trunk/DEVELOPMENT	Tue May  1 03:02:44 2007
@@ -24,6 +24,15 @@
 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
 


More information about the pld-cvs-commit mailing list