Correct typical english grammar mistakes in german linguistics.

Fri, 03 Aug 2012 20:12:19 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 03 Aug 2012 20:12:19 +0200
changeset 471
8fac5290decb
parent 470
f8813e60f168
child 472
0746a003fc03

Correct typical english grammar mistakes in german linguistics.

openpkg/rc file | annotate | diff | comparison | revisions
     1.1 --- a/openpkg/rc	Fri Aug 03 20:11:53 2012 +0200
     1.2 +++ b/openpkg/rc	Fri Aug 03 20:12:19 2012 +0200
     1.3 @@ -149,7 +149,7 @@
     1.4      fi
     1.5  fi
     1.6  
     1.7 -#   extend run-time environment with local OpenPKG tools (shtool, rpmtool, etc)
     1.8 +#   extend runtime environment with local OpenPKG tools (shtool, rpmtool, etc)
     1.9  PATH_ORIG="$PATH"
    1.10  PATH="$prefix/lib/openpkg/fallback:$PATH"
    1.11  PATH="$prefix/bin:$PATH"
    1.12 @@ -160,7 +160,7 @@
    1.13  #   handle --query option
    1.14  if [ ".$query" = .1 ]; then
    1.15      #   suck in all %config sections of all scripts
    1.16 -    #   (rc.openpkg is special: has to be first and requires pre-inclusion of rc.conf)
    1.17 +    #   (rc.openpkg is special: has to be first and requires preinclusion of rc.conf)
    1.18      touch $tmpfile
    1.19      sed <$rcdir/rc.openpkg >>$tmpfile -e "1,/^%config/d" -e '/^%.*/,$d'
    1.20      echo ". $rcconf" >>$tmpfile
    1.21 @@ -187,7 +187,7 @@
    1.22  #   handle --config option
    1.23  if [ ".$config" = .1 ]; then
    1.24      #   suck in all %config sections of all scripts
    1.25 -    #   (rc.openpkg is special: has to be first and requires pre-inclusion of rc.conf)
    1.26 +    #   (rc.openpkg is special: has to be first and requires preinclusion of rc.conf)
    1.27      touch $tmpfile
    1.28      sed <$rcdir/rc.openpkg >>$tmpfile -e "1,/^%config/d" -e '/^%.*/,$d'
    1.29      echo ". $rcconf" >>$tmpfile
    1.30 @@ -271,11 +271,11 @@
    1.31          quarterly|* ) delay=30;   timeout=900   ;; # 30s / 15m
    1.32      esac
    1.33  
    1.34 -    #   apply random run-time delay
    1.35 +    #   apply random runtime delay
    1.36      #   (hint: $RANDOM is a random value 0..32767)
    1.37      sleep $(( ($RANDOM * $delay) / 32767 ))
    1.38  
    1.39 -    #   wrap ourself for mutual exclusion run-time
    1.40 +    #   wrap ourself for mutual exclusion runtime
    1.41      #   and then perform the "all" command
    1.42      cleanup
    1.43      exec $prefix/lib/openpkg/mutex \
    1.44 @@ -305,7 +305,7 @@
    1.45      fi
    1.46  fi
    1.47  
    1.48 -#   determine current run-time user
    1.49 +#   determine current runtime user
    1.50  user=`(id -un) 2>/dev/null ||\
    1.51        (id | sed -e 's;^[^(]*(\([^)]*\)).*;\1;') 2>/dev/null ||\
    1.52        (whoami) 2>/dev/null ||\
    1.53 @@ -318,7 +318,7 @@
    1.54  
    1.55  # Avoid handing control to OpenPKG binary logic until
    1.56  # the binary is is ready for prime time on all platforms.
    1.57 -##   just call OpenPKG RPM to let it once perform the run-time integrity checks
    1.58 +##   just call OpenPKG RPM to let it once perform the runtime integrity checks
    1.59  #$prefix/bin/openpkg rpm -q openpkg >/dev/null || exit $?
    1.60  
    1.61  #   iterate over the specified commands
    1.62 @@ -408,7 +408,7 @@
    1.63          fi
    1.64      done
    1.65  
    1.66 -    #   if operating on all scripts, complain if a non-standard command
    1.67 +    #   if operating on all scripts, complain if a nonstandard command
    1.68      #   was used and it was not found in any(!) script at all. The
    1.69      #   standard commands are accepted to perform no operation if no
    1.70      #   packages are currently installed which provide such commands.
    1.71 @@ -437,7 +437,7 @@
    1.72              echo "set -x" >>$tmpfile
    1.73          fi
    1.74  
    1.75 -        #   generate: inclusion of the run-command helper functions
    1.76 +        #   generate: inclusion of the runcommand helper functions
    1.77          echo ". $rcfunc" >>$tmpfile
    1.78  
    1.79          #   generate: all %config sections of all(!) scripts. We cannot
    1.80 @@ -445,7 +445,7 @@
    1.81          #   because by design all command scripts see the %config
    1.82          #   section of all(!) scripts. Because of $openpkg_rc_def the
    1.83          #   variable, we place the %config section of "openpkg" to the front.
    1.84 -        #   And we have to extra pre-include the rc.conf to allow
    1.85 +        #   And we have to extra preinclude the rc.conf to allow
    1.86          #   rc.conf to override the default of $openpkg_rc_def, too.
    1.87          sed <$rcdir/rc.openpkg >>$tmpfile -e "1,/^%config/d" -e '/^%.*/,$d'
    1.88          echo ". $rcconf" >>$tmpfile
    1.89 @@ -476,7 +476,7 @@
    1.90      for entry in `echo $list | tr ',' '\012' | sort -n`; do
    1.91          [ ".$entry" = . ] && continue
    1.92  
    1.93 -        #   re-determine the script name, script and whether to print output
    1.94 +        #   redetermine the script name, script and whether to print output
    1.95          eval `echo $entry | sed -e 's%^[0-9]*:\(.*\):\(.*\):\(.*\)$%s_name="\1"; s_user="\2"; s_output="\3";%'`
    1.96  
    1.97          #   display verbose progress message parts
    1.98 @@ -514,7 +514,7 @@
    1.99              #   special case: under --eval we just add the %common and
   1.100              #   command scripts to the generated output script and do
   1.101              #   not execute anything at this point. Additionally, we
   1.102 -            #   emulate a real sub-shell environment.
   1.103 +            #   emulate a real subshell environment.
   1.104              sed <$rcdir/rc.$s_name >>$tmpfile -e "1,/^%common/d" -e '/^%.*/,$d'
   1.105              echo "while [ 1 ]; do" >>$tmpfile
   1.106              sed <$rcdir/rc.$s_name >>$tmpfile -e "1,/^%$cmd/d" -e '/^%.*/,$d' \
   1.107 @@ -534,7 +534,7 @@
   1.108                  echo "set -x" >>$tmpfile
   1.109              fi
   1.110  
   1.111 -            #   generate: inclusion of the run-command helper functions
   1.112 +            #   generate: inclusion of the runcommand helper functions
   1.113              echo ". $rcfunc" >>$tmpfile
   1.114  
   1.115              #   generate: all %config sections of all(!) scripts. We cannot
   1.116 @@ -542,7 +542,7 @@
   1.117              #   because by design all command scripts see the %config
   1.118              #   section of all(!) scripts. Because of $openpkg_rc_def the
   1.119              #   variable, we place the %config section of "openpkg" to the front.
   1.120 -            #   And we have to extra pre-include the rc.conf to allow
   1.121 +            #   And we have to extra preinclude the rc.conf to allow
   1.122              #   rc.conf to override the default of $openpkg_rc_def, too.
   1.123              sed <$rcdir/rc.openpkg >>$tmpfile -e "1,/^%config/d" -e '/^%.*/,$d'
   1.124              echo ". $rcconf" >>$tmpfile
   1.125 @@ -578,9 +578,9 @@
   1.126                  elif [ ".@l_susr@" != ".root" ]; then
   1.127                      #   do not complain if we would not have any chance
   1.128                      #   at all to switch the user because we are running
   1.129 -                    #   in a non-privileged instance. Else we would just
   1.130 +                    #   in a unprivileged instance. Else we would just
   1.131                      #   trash the mailbox of the user receiving the
   1.132 -                    #   output of periodic run-commands.
   1.133 +                    #   output of periodic runcommands.
   1.134                      rc=0
   1.135                  else
   1.136                      echo "openpkg:rc:WARNING: $prefix:$s_name:%$cmd: require root privileges to run as user \"$s_user\"" 1>&2
   1.137 @@ -641,7 +641,7 @@
   1.138          fi
   1.139      done
   1.140  
   1.141 -    #   post-processing for each command
   1.142 +    #   postprocessing for each command
   1.143      if [ ".$print" = .1 ]; then
   1.144          #   for --print just print the resulting script to stdout
   1.145          cat $tmpfile
   1.146 @@ -698,8 +698,8 @@
   1.147          cp $outfile $tmpfile
   1.148  
   1.149          #   for --eval we cannot just print the resulting script because
   1.150 -        #   not all Bourne-Shell implementations like to "eval" large
   1.151 -        #   multi-line outputs. Hence we output a little one-liner which
   1.152 +        #   not all Bourne Shell implementations like to "eval" large
   1.153 +        #   multiline outputs. Hence we output a little one liner which
   1.154          #   "sources" the script instead and cleans up.
   1.155          case $SHELL in
   1.156              csh|*/csh|tcsh|*/tcsh )

mercurial