Days Until Spring

#1
I am SO looking forward to spring.

How many days until spring?

This alias lets me know;
Code:
alias days2spring=`type https://days.to/until/spring | tpipe /simple=16 | ffind /k/m/t"There are" | tpipe /simple=12 /simple=19`
Code:
c:\users\jlc\utils>days2spring
There are 71 days until Spring
Sigh.

Yes, I could have just done the math, but the website exists, so this just made it more /simple.

Joe
 
#2
I've made a few changes to my days2spring alias.

Instead of wondering what the /simple values mean, without having to refer to the help file, I have created the following aliases;
Code:
alias RemoveHTML=tpipe /simple=16
alias RemoveBlanksFromStartOfLine=tpipe /simple=12
alias RemoveMultipleWhiteSpace=tpipe /simple=19
Now, my days2spring alias is more readable;
Code:
days2spring=type https://days.to/until/spring | RemoveHTML | ffind /k/m/t"There are" | RemoveBlanksFromStartOfLine | RemoveMultipleWhiteSpace
After typing in days2spring, and pressing Ctrl-F, the alias is expanded with my new aliases expanded;
Code:
type "https://days.to/until/spring" | tpipe /simple=16 | ffind /k/m/t"There are" | tpipe /simple=12 | tpipe /simple=19
Joe