Check-in Number:
|
4754 | |
Date: |
2004-Oct-22 21:32:51 (local)
2004-Oct-22 19:32:51 (UTC) |
User: | rse |
Branch: | |
Comment: |
umask and ff into a new due.fs.sh module and cleanup comments |
Tickets: |
|
Inspections: |
|
Files: |
ossp-pkg/due/.bash.local.rse
|
1.1
->
1.2
|
 
29 inserted, 0 deleted
|
ossp-pkg/due/.bashrc
|
1.1
->
1.2
|
 
0 inserted, 2 deleted
|
ossp-pkg/due/.due/due.cd.sh
|
1.2
->
1.3
|
 
1 inserted, 1 deleted
|
ossp-pkg/due/.due/due.editor.sh
|
1.1
->
1.2
|
 
1 inserted, 1 deleted
|
ossp-pkg/due/.due/due.ff.sh
|
1.1->removed
|
ossp-pkg/due/.due/due.fs.sh
|
added->
1.1
|
ossp-pkg/due/.due/due.local.sh
|
1.1
->
1.2
|
 
1 inserted, 1 deleted
|
ossp-pkg/due/.due/due.ls.sh
|
1.1
->
1.2
|
 
1 inserted, 1 deleted
|
ossp-pkg/due/.due/due.platform.sh
|
1.1
->
1.2
|
 
1 inserted, 1 deleted
|
ossp-pkg/due/.due/due.recue.sh
|
1.1
->
1.2
|
 
1 inserted, 1 deleted
|
ossp-pkg/due/.due/due.root.sh
|
1.1
->
1.2
|
 
1 inserted, 1 deleted
|
ossp-pkg/due/.due/due.term.sh
|
1.2
->
1.3
|
 
1 inserted, 1 deleted
|
ossp-pkg/due/.due/due.tmpdir.sh
|
1.1
->
1.2
|
 
1 inserted, 1 deleted
|
ossp-pkg/due/.due/due.util.sh
|
1.1
->
1.2
|
 
1 inserted, 1 deleted
|
|
ossp-pkg/due/.bash.local.rse 1.1 -> 1.2
--- .bash.local.rse 2004/07/10 08:17:12 1.1
+++ .bash.local.rse 2004/10/22 19:32:51 1.2
@@ -1,4 +1,33 @@
+##
+## OSSP due - Dynamic User Environment
+## Copyright (c) 1994-2004 Ralf S. Engelschall <rse@engelschall.com>
+## Copyright (c) 1994-2004 The OSSP Project <http://www.ossp.org/>
+##
+## This file is part of OSSP due, a dynamic user environment
+## which can found at http://www.ossp.org/pkg/tool/due/
+##
+## Permission to use, copy, modify, and distribute this software for
+## any purpose with or without fee is hereby granted, provided that
+## the above copyright notice and this permission notice appear in all
+## copies.
+##
+## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
+## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+## SUCH DAMAGE.
+##
+## ~/.bash.local.rse: Ralf S. Engelschall's personal addon
+##
+# activate OpenPKG instances
case "${HOSTNAME:-`hostname`}" in
*.dev.de.cw.net | *.engelschall.com ) activate_openpkg /usr/opkg ;;
*.eu.cw.net | *.eu.cw.com | *.de.cw.net | *.de.cw.com ) activate_openpkg /cw ;;
|
|
ossp-pkg/due/.bashrc 1.1 -> 1.2
--- .bashrc 2004/07/10 08:17:12 1.1
+++ .bashrc 2004/10/22 19:32:51 1.2
@@ -30,5 +30,3 @@
source ~/.duerc
due -v load all -local
-umask 022
-
|
|
ossp-pkg/due/.due/due.cd.sh 1.2 -> 1.3
--- due.cd.sh 2004/10/22 19:16:53 1.2
+++ due.cd.sh 2004/10/22 19:32:52 1.3
@@ -24,7 +24,7 @@
## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
## SUCH DAMAGE.
##
-## cd: DUE module for enhanced change directory command
+## due.cd.sh: DUE module for enhanced change directory command
##
# hook into cd command to adjust environment
|
|
ossp-pkg/due/.due/due.editor.sh 1.1 -> 1.2
--- due.editor.sh 2004/07/10 08:17:15 1.1
+++ due.editor.sh 2004/10/22 19:32:52 1.2
@@ -24,7 +24,7 @@
## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
## SUCH DAMAGE.
##
-## editor: DUE module for smart editor/pager handling
+## due.editor.sh: DUE module for smart editor/pager handling
##
# requires "util" module
|
|
ossp-pkg/due/.due/due.ff.sh 1.1 -> 1.2
ossp-pkg/due/.due/due.fs.sh -> 1.1
*** /dev/null Sat Nov 23 01:34:52 2024
--- - Sat Nov 23 01:35:00 2024
***************
*** 0 ****
--- 1,44 ----
+ ##
+ ## OSSP due - Dynamic User Environment
+ ## Copyright (c) 1994-2004 Ralf S. Engelschall <rse@engelschall.com>
+ ## Copyright (c) 1994-2004 The OSSP Project <http://www.ossp.org/>
+ ##
+ ## This file is part of OSSP due, a dynamic user environment
+ ## which can found at http://www.ossp.org/pkg/tool/due/
+ ##
+ ## Permission to use, copy, modify, and distribute this software for
+ ## any purpose with or without fee is hereby granted, provided that
+ ## the above copyright notice and this permission notice appear in all
+ ## copies.
+ ##
+ ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
+ ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ ## SUCH DAMAGE.
+ ##
+ ## due.fs.sh: DUE module for filesystem settings
+ ##
+
+ # set umask(2) for creating files not group/other writable
+ umask 022
+
+ # shell command for quickly finding files
+ function ff () {
+ if [ $? -eq 0 ]; then
+ echo "Usage: ff <file-glob> <directory>" 1>&2
+ return 1
+ fi
+ local file=$1; shift
+ local dir=$2; shift
+ find "$dir" -name "*${file}*" -type f -print
+ return 0
+ }
+
|
|
ossp-pkg/due/.due/due.local.sh 1.1 -> 1.2
--- due.local.sh 2004/07/10 08:17:15 1.1
+++ due.local.sh 2004/10/22 19:32:52 1.2
@@ -24,7 +24,7 @@
## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
## SUCH DAMAGE.
##
-## local: DUE module for loading local override configurations
+## due.local.sh: DUE module for loading local override configurations
##
# optionally allow shared local modifications
|
|
ossp-pkg/due/.due/due.ls.sh 1.1 -> 1.2
--- due.ls.sh 2004/07/10 08:17:15 1.1
+++ due.ls.sh 2004/10/22 19:32:52 1.2
@@ -24,7 +24,7 @@
## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
## SUCH DAMAGE.
##
-## ls: DUE module for enhanced list directory command
+## due.ls.sh: DUE module for enhanced list directory command
##
# ls command which enables color sequences and automatic paging
|
|
ossp-pkg/due/.due/due.platform.sh 1.1 -> 1.2
--- due.platform.sh 2004/07/10 08:17:15 1.1
+++ due.platform.sh 2004/10/22 19:32:52 1.2
@@ -24,7 +24,7 @@
## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
## SUCH DAMAGE.
##
-## platform: DUE module for platform specifics
+## due.platform.sh: DUE module for platform specifics
##
# requires "util" module
|
|
ossp-pkg/due/.due/due.recue.sh 1.1 -> 1.2
--- due.recue.sh 2004/07/10 08:17:15 1.1
+++ due.recue.sh 2004/10/22 19:32:52 1.2
@@ -24,7 +24,7 @@
## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
## SUCH DAMAGE.
##
-## editor: DUE module for rescue command
+## due.rescue.sh: DUE module for rescue command
##
# system rescue facility
|
|
ossp-pkg/due/.due/due.root.sh 1.1 -> 1.2
--- due.root.sh 2004/07/10 08:17:15 1.1
+++ due.root.sh 2004/10/22 19:32:52 1.2
@@ -24,7 +24,7 @@
## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
## SUCH DAMAGE.
##
-## root: DUE module for root command execution
+## due.root.sh: DUE module for root command execution
##
# generate shell script for re-evaluation of command arguments
|
|
ossp-pkg/due/.due/due.term.sh 1.2 -> 1.3
--- due.term.sh 2004/10/04 15:34:50 1.2
+++ due.term.sh 2004/10/22 19:32:52 1.3
@@ -24,7 +24,7 @@
## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
## SUCH DAMAGE.
##
-## term: DUE module for terminal configuration
+## due.term.sh: DUE module for terminal configuration
##
# require DUE "platform" module
|
|
ossp-pkg/due/.due/due.tmpdir.sh 1.1 -> 1.2
--- due.tmpdir.sh 2004/10/04 15:34:50 1.1
+++ due.tmpdir.sh 2004/10/22 19:32:52 1.2
@@ -24,7 +24,7 @@
## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
## SUCH DAMAGE.
##
-## tmdir: DUE module for TMPDIR handling
+## due.tmpdir.sh: DUE module for TMPDIR handling
##
if [ -z $TMPDIR ]; then
|
|
ossp-pkg/due/.due/due.util.sh 1.1 -> 1.2
--- due.util.sh 2004/07/10 08:17:15 1.1
+++ due.util.sh 2004/10/22 19:32:52 1.2
@@ -24,7 +24,7 @@
## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
## SUCH DAMAGE.
##
-## util: DUE module for shared utility functions
+## due.util.sh: DUE module for shared utility functions
##
function lookup () {
|
|