Re: [dev] TermKitjkjkjn

From: Benjamin R. Haskell <suckless_AT_benizi.com>
Date: Fri, 20 May 2011 14:44:39 -0400 (EDT)

On Fri, 20 May 2011, Andrew Hills wrote:

> On Fri, May 20, 2011 at 2:06 PM, Kurt H Maier wrote:
>> [...] wouldn't something akin to
>>
>> history | sort -r | sed '1d; s/^[ \t]*[0-9]*[ \t]*//'
>>
>> work just as well?

Didn't realize `sed` didn't have \d, but why [ \t] instead of \s?

> [...] (Don't forget to escape your asterisks in sed.)

Why would you escape the asterisks here? It's not looking for literal
asterisks.

-- 
Best,
Ben
Received on Fri May 20 2011 - 20:44:39 CEST

This archive was generated by hypermail 2.2.0 : Fri May 20 2011 - 20:48:03 CEST