9 lines
96 B
Bash
9 lines
96 B
Bash
|
#! /usr/bin/env bash
|
||
|
|
||
|
function weekof()
|
||
|
{
|
||
|
local date=$1
|
||
|
date -d "$date" +%W
|
||
|
}
|
||
|
|
||
|
weekof $1
|