This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function brew_cask_upgrade | |
for app in (brew cask list) | |
set --local latest (brew cask info $app | awk 'NR==1{print $2}') | |
set --local versions (ls -1 "/usr/local/Caskroom/$app/.metadata/") | |
set --local current (echo $versions | awk '{print $NF}') | |
echo "app: $app" | |
echo "latest: $latest" | |
echo "versions: $versions" | |
echo "current: $current" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
extension='jpg' | |
prefix=`date +%Y-%m-%d` | |
count=1 | |
for FILE in `find ./ -type f -name '*'.${extension} -maxdepth 1`; | |
do | |
mv $FILE ${prefix}-`printf '%04g\n' $count`.${extension} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- config.sub.bak 2021-04-04 21:56:53.000000000 +0900 | |
+++ config.sub 2021-04-16 15:56:41.149651959 +0900 | |
@@ -1,8 +1,8 @@ | |
#! /bin/sh | |
# Configuration validation subroutine script. | |
-# Copyright 1992-2018 Free Software Foundation, Inc. | |
+# Copyright 1992-2021 Free Software Foundation, Inc. | |
-timestamp='2018-04-24' | |
+timestamp='2021-01-08' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- tool/config.sub.bak 2020-10-01 21:15:38.000000000 +0900 | |
+++ tool/config.sub 2021-04-16 16:38:03.065331812 +0900 | |
@@ -1,8 +1,8 @@ | |
#! /bin/sh | |
# Configuration validation subroutine script. | |
-# Copyright 1992-2019 Free Software Foundation, Inc. | |
+# Copyright 1992-2021 Free Software Foundation, Inc. | |
-timestamp='2019-06-30' | |
+timestamp='2021-01-08' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- config.guess.bak 2021-04-04 21:56:53.000000000 +0900 | |
+++ config.guess 2021-04-17 16:03:10.347268757 +0900 | |
@@ -1,8 +1,8 @@ | |
#! /bin/sh | |
# Attempt to guess a canonical system name. | |
-# Copyright 1992-2018 Free Software Foundation, Inc. | |
+# Copyright 1992-2021 Free Software Foundation, Inc. | |
-timestamp='2018-03-08' | |
+timestamp='2021-01-25' |
OlderNewer