[Assorted-commits] SF.net SVN: assorted: [531] shell-tools/trunk
Brought to you by:
yangzhang
From: <yan...@us...> - 2008-02-29 06:37:45
|
Revision: 531 http://assorted.svn.sourceforge.net/assorted/?rev=531&view=rev Author: yangzhang Date: 2008-02-28 22:37:49 -0800 (Thu, 28 Feb 2008) Log Message: ----------- more progress toward being presentable Modified Paths: -------------- shell-tools/trunk/README shell-tools/trunk/publish.bash shell-tools/trunk/src/bash-commons/assorted.bash Modified: shell-tools/trunk/README =================================================================== --- shell-tools/trunk/README 2008-02-29 06:30:19 UTC (rev 530) +++ shell-tools/trunk/README 2008-02-29 06:37:49 UTC (rev 531) @@ -1,4 +1,4 @@ -% Assorted Shell Tools User Guide +% Assorted Shell Tools % Yang Zhang Overview @@ -74,7 +74,8 @@ `rmhead` Remove the first $n$ lines of a file. bash -`rmtail` Remove the last $n$ lines of a file. bash +`rmtail` Remove the last $n$ lines of a file. (Same as bash + `head -n -$n$`. `show-env` Show the value of an environment variable. bash Useful for debugging programs that export @@ -110,11 +111,11 @@ SimpleSetup ----------- -Framework for writing minimal installers. +Framework for writing minimal installers that support installation by symlinks, +which is particularly handy for development of scripts (scripts because it's +not yet integrated with any [build system]). -- user named 'pkg' -- http://www.gnu.org/software/bash/[bash] 3.1+: 3.1 fixes a bug with local - array declarations +[build system]: http://assorted.sf.net/simple-build/ License ------- Modified: shell-tools/trunk/publish.bash =================================================================== --- shell-tools/trunk/publish.bash 2008-02-29 06:30:19 UTC (rev 530) +++ shell-tools/trunk/publish.bash 2008-02-29 06:37:49 UTC (rev 531) @@ -1,5 +1,5 @@ project=shell-tools -clean=true +clean=false websrcs=( README ) webfiles=() . assorted.bash "$@" Modified: shell-tools/trunk/src/bash-commons/assorted.bash =================================================================== --- shell-tools/trunk/src/bash-commons/assorted.bash 2008-02-29 06:30:19 UTC (rev 530) +++ shell-tools/trunk/src/bash-commons/assorted.bash 2008-02-29 06:37:49 UTC (rev 531) @@ -30,7 +30,7 @@ done fi -if [[ "$1" == pretend ]] ; then +if [[ "${1:-}" == pretend ]] ; then echo "$stagedir" else tar czf - -C "$stagedir" . | This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |