From aad98a932e72b69d751561c9ea6c25b96ada1ebd Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Tue, 3 Dec 2002 01:11:25 +0000 Subject: localezmangle: Improved documentation. --- localezmangle | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) (limited to 'localezmangle') diff --git a/localezmangle b/localezmangle index 2be131f..88147a9 100755 --- a/localezmangle +++ b/localezmangle @@ -3,7 +3,7 @@ # /usr/local/bin/localezmangle # Copyright 2001-2002 Jonas Smedegaard # -# $Id: localezmangle,v 1.2 2002-12-03 00:54:05 jonas Exp $ +# $Id: localezmangle,v 1.3 2002-12-03 01:11:25 jonas Exp $ # # Extract, rename and auto-mangle eZ Publish 2.2.x templates and languages # @@ -18,16 +18,22 @@ if [ -z "$1" -o -z "$2" -o -z "$3" ]; then echo echo "Usage: $prg origname targetname targetdir [origdir [sedfile]]" echo - echo " origname: String to search for in path + filename." - echo " targetname: Replacement string." - echo " targetdir: Where to store mangled file hierarchy." - echo " origdir: Where to look for files matching ." + echo "Options:" + echo " origname: Search string" + echo " targetname: Replacement string" + echo " targetdir: Where to store mangled file hierarchy" + echo " origdir: Where to look for original files" echo - echo "If is provided, it is considered a \"first run\":" - echo " is created, and files matching are copied" - echo " and renamed." - echo "If not provided, the file .sed in current dir" - echo " is attempted." + echo "1) is created if it doesn't exist. If is" + echo "provided it is considered a \"first run\", and files matching" + echo " are copied from to ." + echo + echo "2) Path + filename is matched against and replaced with" + echo "." + echo + echo "3) All files in is run through the sed rulesfile ." + echo "If not provided, a filename .sed is constructed" + echo "and looked for in current dir." echo echo "Example: $prg /default/ /mytemplate/ /tmp/my_ez_tpl /var/www/ezsite" exit 1 -- cgit v1.2.3