[CS-FSLUG] Shell Scripting - one liners

Josiah Ritchie jritchie at bible.edu
Fri Jul 30 13:05:45 CDT 2004


On Fri, 2004-07-30 at 13:11, Frank Bax wrote:
> At 12:56 PM 7/30/04, Josiah Ritchie wrote:
> 
> >I managed to do what I wanted with a one-liner (if you can call it that
> >being so long. :-)
> 
> 
> I remember there were contests at university to solve coding problems with 
> one-liners - some of solutions 'wrapped' to a dozen lines.  I remember one 
> question was a one-line formula for some date-related question that had to 
> work for leap years (year divisible by 4 and 400, but not 100).

That sounds like fun! Maybe we could recommend this sort of question to
Tim for his Question of Week posts sometime. :-) 

JSR/





More information about the Christiansource mailing list