Epoch v.1.0

Advertisement
Advertisement

Epoch is a laughably simple program for displaying the time in seconds since the Epoch (Midnight, Jan. 1, 1970). This can be useful for storing an easily and quickly comparable time value in a file with shell scripts, etc. It avoids the overhead of using PERL, etc. (which can be slow to start on old hardware). Details What Is Epoch? Epoch is a SUPER-SIMPLE program for printing the current time in seconds since the Epoch (Midnight Jan 1, 1970, UTC). Do I Need Epoch? Maybe not... If your date(1) command supports the "%s" options (many linux versions do) then you might as well use it, unless you are a hard-core efficiency nut and want the super-streamlined version provided by Epoch. (Really you probably dont need it in this case ,-), and if you do you should write your own version in machine code...) How Do I Use Epoch? First you compile it by changing to the Epoch directory and typing ./Build This will invoke cc to build a binary called "epoch". Then you might, optionally, copy epoch to a system-wide directory like /usr/local/bin, and chmod it with 0511 permissions so everyone can use it. (Do this as root.) Next (perhaps after a "rehash" in the shell), type "epoch" and be amazed at seeing the time displayed in seconds. By default epoch will display the time followed by a new line. If you do not want the new line then simply pass ANY argument to epoch (e.g. "epoch -n"). It really does not matter what you type, it could be anything, as long as there is a space after the command name. Why the Heck Did You Write This Stupid Thing? At the time of this writing I could not find a similar function under NetBSD 1.5.2. It took less than five minutes to write. So I felt this was easy. If you like it, then use it for free (GPL). If you dont like it then delete it!

Epoch is a laughably simple program for ...

 
  • Freeware
  • 2 Kb
  • 155
  • Free
 
 

Review Epoch

  • captcha
 

Other software of Laffey Computer Imaging
  • Spinner  v.1.2.4Spinner is an anti-idle program that displays a little "spinning" ASCII character in the top left corner of your terminal. To make this effect it cycles through punctuation marks like this " - \ | / - \ | / ... " (try it to see). By default the ...
  • Whatmask  v.1.2Whatmask 1.2 is described as a simple but effective C program that will help you with network settings.There are two versions avaiable. The links here go to the version that runs in a standalone window and works on Mac OSX and OS9. There is a ...

New System Tools software
  • Tipard iPhone Eraser  v.1.0.18Tipard iPhone Eraser is the most useful utility to erase all content and settings permanently and thoroughly from iPhone iPad or iPod. In addition, you are able to erase more than one iOS device simultaneously.
  • FSS Plagiator  v.1.0.6.7FSS Plagiator is designed specially for students of various educational institutions: schools, colleges, universities, etc. The app uses advanced algorithms for text modifications without visual changes.
  • IPhone Transfer for Mac  v.1.1.6Apeaksoft iPhone Transfer for Mac provides best solution for users to backup text messages, contacts, pictures, music, videos, books, PDF and more between iOS device and computer or from iOS to iTunes.It supports all iOS devices.
  • Hot Keyboard Pro  v.6.2.106Using Hot Keyboard, you can record or play keystrokes, mouse actions; launch applications; paste text; open documents and create other types of macros. Execute macros by hot keys, text shorcuts, scheduler, window popups and system startup.
  • EPlum OfficeCapture  v.2.1ePlum OfficeCapture 2.1 is a beneficial and easy-to-use application which can convert Word DOC to high-quality PDF, JPG, GIF, TIF, BMP, PNG and HTML, save results of conversion to the hard disk or send them via e-mail.OfficeCapture allows to make ...
  • Epoch DHTML JavaScript Calendar  v.2.0.2Epoch is one of the most popular DHTML calendars in existence, with over 30,000 downloads in 16 major world languages since its April 2006 release date. Built around modern internet coding standards, Epoch is richly featured, with DHTML ...