Skip to content

Instantly share code, notes, and snippets.

@tmd45
Created October 12, 2011 08:45
Show Gist options
  • Save tmd45/1280671 to your computer and use it in GitHub Desktop.
Save tmd45/1280671 to your computer and use it in GitHub Desktop.
get a file timestamp without --time-style (SunOS 5.10)
TIMESTAMP=`ls -E hoge.txt | sed -e 's/ */ /g' | cut -d " " -f 6-7 | cut -c 1-19`
echo $TIMESTAMP
@tmd45
Copy link
Author

tmd45 commented Oct 12, 2011

gist のテスト。

自分で書いたコードのコピー。
http://wiki.tmd45.in/wiki.cgi?page=%A5%B7%A5%A7%A5%EB%A5%B9%A5%AF%A5%EA%A5%D7%A5%C8%A5%E1%A5%E2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment