Re: [PLUG] WRT54G DHCP - always serve the same IP address to a particular device?

2012-01-25 Thread Richard C. Steffens
On 01/22/2012 03:18 PM, Richard C. Steffens wrote: > Is it possible to tell my WRT54G to always serve the same IP address to > a particular device? Thanks to everyone for all the ideas. For now I'm trying the idea of assigning the most recently served IP address to the ReplayTV as its static IP

Re: [PLUG] Sorting Text File By Date [SOLVED]

2012-01-25 Thread Rich Shepard
On Wed, 25 Jan 2012, Michael Rasmussen wrote: > And if for some reason tac isn't available >perl -e 'print reverse <>;' FILE Thank you, kind Sir. 'tac' is so much shorter. :-) Rich ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxli

Re: [PLUG] Sorting Text File By Date [SOLVED]

2012-01-25 Thread Michael Rasmussen
On Wed, Jan 25, 2012 at 02:53:00PM -0800, Rich Shepard wrote: > On Wed, 25 Jan 2012, Galen Seitz wrote: > > > If all you need to do is reverse the order of the lines, then the tac > > command is what you need. > >Thanks, Galen! When I searched with apropos I did not see that tac is cat > spel

Re: [PLUG] Sorting Text File By Date [SOLVED]

2012-01-25 Thread Rich Shepard
On Wed, 25 Jan 2012, Galen Seitz wrote: > If all you need to do is reverse the order of the lines, then the tac > command is what you need. Thanks, Galen! When I searched with apropos I did not see that tac is cat spelled backwards. Clever ... and does the job. Rich __

Re: [PLUG] Sorting Text File By Date

2012-01-25 Thread Rich Shepard
On Wed, 25 Jan 2012, Ronald Chmara wrote: > You're not actually sorting anything, you're just reversing line order? > # man rev See my previous message. Here are the first two lines of the input file: 1/24/2012 0.50 1/23/2012 0.43 Here's what rev produces: 05.0 2102/42/1 34.0 2102/32/1

Re: [PLUG] Sorting Text File By Date

2012-01-25 Thread Galen Seitz
Rich Shepard wrote: >I have a text file with dates in the common US slash-delimited format of > m/d/Y; single digits are not prepended with zeros. The file is in reverse > order; that is, today's date is at the top and the earliest data is at the > bottom. For plotting, I need to reverse the li

Re: [PLUG] Sorting Text File By Date

2012-01-25 Thread Ronald Chmara
On Wed, Jan 25, 2012 at 2:29 PM, Rich Shepard wrote: >   I have a text file with dates in the common US slash-delimited format of > m/d/Y; single digits are not prepended with zeros. The file is in reverse > order; that is, today's date is at the top and the earliest data is at the > bottom. For p

Re: [PLUG] Sorting Text File By Date

2012-01-25 Thread Rich Shepard
On Wed, 25 Jan 2012, Rich Shepard wrote: > Is there a sort option that will do this but was not obvious to me? Or, is > there another tool that will do the job? Heh-heh! The BSD 'rev' reverses the character order, line-by-line. Not what I need. Sigh. Rich ___

[PLUG] Sorting Text File By Date

2012-01-25 Thread Rich Shepard
I have a text file with dates in the common US slash-delimited format of m/d/Y; single digits are not prepended with zeros. The file is in reverse order; that is, today's date is at the top and the earliest data is at the bottom. For plotting, I need to reverse the line order. (There's a numeric