« Win32::OLE with Excel | Main | »

日付から曜日を求める

シェルをつかって曜日を求める方法を書いておく。いわゆるカレンダー計算。
BSDライセンスで置いておくのでご自由にどうぞ。
awkで$1とかのところを任意の数字を与えるときはこういう風に書く。
同じことをcutでもできる


COL=3
awk '{print $col}' col=$COL
cut -d ' ' -f $COL
使い方
./date-to-week.sh 20080305
20080305 is Wednesday

「date-to-week.sh」をダウンロード
x日前の日付を求める

|
|

« Win32::OLE with Excel | Main | »

「UNIX」カテゴリの記事

Comments

Greetings! Very helpful advice in this particular article! It's the little changes that will make the most important changes. Thanks a lot for sharing!

Posted by: займу денег срочно | July 21, 2013 at 03:39 AM

Hi, constantly i used to check blog posts here early in the dawn, because i enjoy to find out more and more.

Posted by: Free porn XXX | August 10, 2013 at 02:19 PM

Very nice post. I just stumbled upon your blog and wanted to say that I've really enjoyed surfing around your blog posts. After all I will be subscribing to your rss feed and I hope you write again very soon!

Posted by: http://Kihutucifoty.site40.net | August 14, 2013 at 05:11 AM

This design is wicked! You certainly know how to keep a reader amused. Between your wit and your videos, I was almost moved to start my own blog (well, almost...HaHa!) Excellent job. I really enjoyed what you had to say, and more than that, how you presented it. Too cool!

Posted by: electronic cigarette brands and flavors | July 03, 2014 at 03:22 PM

Heya i'm for the first time here. I found this board and I find It truly useful & it helped me out much. I hope to give something back and aid others like you aided me.

Posted by: instagram followers | July 24, 2014 at 01:28 AM

This page truly has all of the information I wanted concerning this subject and didn't know who to ask.

Posted by: eagle talon 12 kayak | August 12, 2014 at 11:17 PM

What's up to every body, it's my first visit of this web site; this website contains amazing and truly excellent stuff designed for visitors.

Posted by: reverse Osmosis Membrane | August 18, 2014 at 12:07 AM

Greetings from Colorado! ӏ'm bored tо tears at woгk so I decided to browse ʏouг website օn my iphone during lunch break. Ӏ love the knowledge you ρresent here and ϲan't wait tߋ take a look when ӏ get Һome. I'm shocked ɑt how quick your blog loaded on my mobile .. Ι'm not even սsing WIFI, ʝust 3G .. Anywɑys, awesome site!

Posted by: Google followers | August 28, 2014 at 10:19 AM

Hi, Neat post. There's an issue together with your web site in web explorer, may test this? IE still is the marketplace chief and a large element of other people will omit your wonderful writing because of this problem.

Posted by: 10 kayak | August 30, 2014 at 01:46 PM

Whats up this is kind of of off topic but I was wanting to know if blogs use WYSIWYG editors or if you have to manually code with HTML. I'm starting a blog soon but have no coding skills so I wanted to get guidance from someone with experience. Any help would be greatly appreciated!

Posted by: foot paddle kayak | September 11, 2014 at 11:40 PM

It's enormous that you are getting thoughts from this article as well as from our argument made here.

Posted by: Annis | January 05, 2015 at 02:07 AM

There is definately a lot to find out about this issue. I really like all of the points you made.

Posted by: secret knock detecting door lock | January 07, 2015 at 06:43 AM

Everything is very open with a very clear description of the issues. It was truly informative. Your site is useful. Thank you for sharing!

Posted by: graal viewer | January 07, 2015 at 10:48 AM

It is the best time to make a few plans for the future and it's time to be happy. I've read this publish and if I may just I wish to recommend you some fascinating issues or advice. Perhaps you can write next articles regarding this article. I wish to learn even more issues about it!

Posted by: mmm fingers | January 12, 2015 at 02:54 PM

Hi, I believe your site may be having browser compatibility issues. When I take a look at your web site in Safari, it looks fine however, if opening in IE, it has some overlapping issues. I merely wanted to give you a quick heads up! Apart from that, fantastic site!

Posted by: watch video | January 12, 2015 at 02:58 PM

This information is priceless. Where can I find out more?

Posted by: graal viewer | January 29, 2015 at 06:33 PM

This page definitely has all the information and facts I wanted concerning this subject and didn't know who to ask.

Posted by: armored warfare | February 07, 2015 at 04:17 PM

I blog often and I seriously appreciate your information. This article has truly peaked my interest. I will take a note of your website and keep checking for new details about once a week. I opted in for your Feed too.

Posted by: match.com | April 07, 2015 at 01:33 PM

Hello Therе. I found youг blog uѕing msn. This iѕ a reall well wrіtten article. Ӏ will make ѕure to bookmark іt and comе bɑck to readd moге of үour useful infοrmation. TҺanks for the post. Ι will certaіnly return.

Posted by: bdsm video | June 15, 2015 at 08:42 AM

I have been surfing online greater than three hours nowadays, yet I never discovered any interesting article like yours. It's pretty price sufficient for me. In my opinion, if all web owners and bloggers made good content material as you did, the internet will be much more helpful than ever before.

Posted by: Julissa | July 11, 2015 at 10:11 AM

I constantly spent my half an hour to read this blog's posts everyday along with a mug of coffee.

Posted by: venus factor | September 03, 2015 at 10:40 PM

Post a comment



(Not displayed with comment.)




TrackBack

TrackBack URL for this entry:
http://app.cocolog-nifty.com/t/trackback/45549/40386508

Listed below are links to weblogs that reference 日付から曜日を求める:

« Win32::OLE with Excel | Main | »