shell-scripting.livejournal.com
Date arithmetic: shell_scripting
http://shell-scripting.livejournal.com/19018.html
Wow, it's a long time since anything happened in. Community. Maybe it's dead. Let's see. Question for ya: how do you do date arithmetic in shell? For example, how do you compute the following values? The date of the next Saturday that's the last Saturday of the month. Today's date 180 days. The number of days are left until 31st December. The last one I actually just made up, but the first two are ones I've seen in real-world situations. The first one got "solved" by piping. Perl -MDate: Manip -e .
md2600.livejournal.com
WTF, I forgot this existed. I don't even remember joining. [ edit ]:…: md2600
http://md2600.livejournal.com/2041.html
Stress and hunger, they blew peace away (. Stress and hunger, they blew peace away. WTF, I forgot this existed. I don't even remember joining. I guess I'll add something somewhat useful:. Http:/ we-dont.gotdns.org/ elixx/st. Http:/ we-dont.gotdns.org/ elixx/st. Post a new comment. We will log you in after post. We will log you in after post. We will log you in after post. We will log you in after post. We will log you in after post. Your IP address will be recorded. Post a new comment. Post a new comment.
md2600.livejournal.com
You know what...: md2600
http://md2600.livejournal.com/2295.html
Tonight. Be there or be square (or Pi or whatever). I'm going to the DC2600. Meet tonight, in case anyone cares. Post a new comment. We will log you in after post. We will log you in after post. We will log you in after post. We will log you in after post. We will log you in after post. Your IP address will be recorded. Post a new comment. Post a new comment. Follow us on Facebook. Follow us on Twitter. 1999 LiveJournal, Inc.
shell-scripting.livejournal.com
Regex woes...: shell_scripting
http://shell-scripting.livejournal.com/16459.html
Having OCRed a book that was falling apart, I'd like to munge the text file to remove page numbers. I created a test file with several such numbers and put the following expression into sed:. S/ ([a-z] ) s d* s ([a-z] )/ 1 2/g'. It's intended to be: find lower case char (and keep it), find following whitespace and digits, find next lower case char (and keep it), and replace the whitespace and digits with a single space. Am using sed on Darwin, which is about the simplest regex thing I can find.
shell-scripting.livejournal.com
I posted this in another community a while ago...: shell_scripting
http://shell-scripting.livejournal.com/16879.html
Stress and hunger, they blew peace away (. Stress and hunger, they blew peace away. I posted this in another community a while ago. But seeing as how I just found this community, I thought I'd share this concoction. It is meant to be run as root (or someone with full access to /home), and to be given two arguments, a username, followed by any text. It's fairly entertaining, and potentially useful ;). Post a new comment. We will log you in after post. We will log you in after post. Post a new comment.
md2600.livejournal.com
MD2600 Bandycam: md2600
http://md2600.livejournal.com/1557.html
Hello, I will be passing on a bandycam. Sometime to someone. Dunno who, and dunno when yet. But the camera is bought, and the number has been registered. The results will be used for a future project to be announced. If you guys enjoy it, I may release more cameras in the future. Post a new comment. We will log you in after post. We will log you in after post. We will log you in after post. We will log you in after post. We will log you in after post. Your IP address will be recorded. Post a new comment.
SOCIAL ENGAGEMENT