X-Git-Url: https://zdv2.bktei.com/gitweb/BK-2020-03.git/blobdiff_plain/8adb3ef945a835657a977cb2761f93d3d8f75c3a..3621642d7b74e08f23d4d1958d5c0cbe362f8cad:/unitproc/bktemp-timeDuration?ds=sidebyside diff --git a/unitproc/bktemp-timeDuration b/unitproc/bktemp-timeDuration index 0b20c88..57ea1f5 100644 --- a/unitproc/bktemp-timeDuration +++ b/unitproc/bktemp-timeDuration @@ -18,7 +18,7 @@ timeDuration(){ # exit code 1: error_input # exit code 2: error_unknown # Example: 'timeDuration 111111 3' yields 'P1DT6H51M' - # Depends: date 8 (gnucoreutils), yell, + # Depends: date 8, bash 5, yell, local argSeconds argPrecision precision returnState remainder local fullYears fullMonths fullDays fullHours fullMinutes fullSeconds local hasYears hasMonths hasDays hasHours hasMinutes hasSeconds