#!/bin/bash printf -v date '%(%Y-%m-%d)T\n' -1 echo $(( ($(date -d $1 +%s) - $(date -d $date +%s)) / 86400 )) days Above is a bash script to output the number of days between today and some future date. Copy it into a file, e.g., diffdate.sh, into a directory, e.g., ~/bin/scripts. Then, enter the directory you … Continue reading bash: Number of Days Between Today and Some Future Date
Category: writing
Geriatric and/or Managerial Socialism
"Letting firms fail, and share prices fall to their market level, also provides younger generations with the same opportunities that we, Gen X and boomers, were given: a chance to buy Amazon at 50x (vs. 100x) earnings and Brooklyn real estate at $300 (vs. $1,000) per square foot. Just as we pretend our service men … Continue reading Geriatric and/or Managerial Socialism
