Re: [dev] [PATCH] sbase: add cut

2012-08-02 Thread Jacob Todd
Kill it with fire. On Aug 2, 2012 1:42 PM, "Martin Kopta" wrote: > On 08/02/2012 04:34 PM, Kurt H Maier wrote: > >> On Thu, Aug 02, 2012 at 10:33:19AM -0400, Calvin Morrison wrote: >> >>> >>> I think cut is exactly the kind of job that awk (or sed) can be good >>> for. It seems crazy not to use a

Re: [dev] [patch] multiple slock instances make screen black

2012-08-02 Thread Anselm R Garbe
On Wed, Jul 25, 2012 at 04:14:04PM +, and...@krutt.org wrote: > To reproduce run `slock & slock`. The first gets the password and > exits, but > the second did not manage to grab keyboard and mouse. The actual bug > is that > it did not understand that it didn't, so it just hangs there and > k

Re: [dev] [PATCH] sbase: add cut

2012-08-02 Thread Martin Kopta
On 08/02/2012 04:34 PM, Kurt H Maier wrote: On Thu, Aug 02, 2012 at 10:33:19AM -0400, Calvin Morrison wrote: I think cut is exactly the kind of job that awk (or sed) can be good for. It seems crazy not to use an existing tool that implements all the functionality, that can be nicely bundled in

[dev] [PATCH] st: fix BORDER after XDBE patch

2012-08-02 Thread Gaetan Bisson
Hi, The BORDER setting to st has recently been broken by the XDBE patch; this is fixed by the patch below, which also removes bufh/bufw since they are now redundant with the w/h members. Cheers. -- Gaetan diff -Naur old/st.c new/st.c --- old/st.c2012-07-28 22:27:26.0 +1000 +++ new

Re: [dev] [PATCH] sbase: add cut

2012-08-02 Thread Kurt H Maier
On Thu, Aug 02, 2012 at 10:33:19AM -0400, Calvin Morrison wrote: > > I think cut is exactly the kind of job that awk (or sed) can be good > for. It seems crazy not to use an existing tool that implements all > the functionality, that can be nicely bundled in a a script. > To be honest, I feel th

Re: [dev] [PATCH] sbase: add cut

2012-08-02 Thread Calvin Morrison
On 2 August 2012 07:31, Martin Kopta wrote: > On 08/02/2012 01:20 PM, hiro wrote: >> >> why not a C-to-awk compiler? > > > Written in Perl. NOW we are finally getting somewhere. > > I think cut is exactly the kind of job that awk (or sed) can be good for. It seems crazy not to use an existing too

Re: [dev] [PATCH] sbase: add chroot

2012-08-02 Thread Strake
On 01/08/2012, Džen wrote: > why argu? > > On Wed, Aug 1, 2012 at 5:11 PM, Strake wrote: > [...] >> +void main (int argc, char *argu[]) { > [...] Habit of mine.

Re: [dev] [PATCH] sbase: add cut

2012-08-02 Thread Martin Kopta
On 08/02/2012 01:20 PM, hiro wrote: why not a C-to-awk compiler? Written in Perl. NOW we are finally getting somewhere.

Re: [dev] [PATCH] sbase: add cut

2012-08-02 Thread hiro
why not a C-to-awk compiler?

Re: [dev] [PATCH] sbase: add cut

2012-08-02 Thread Paul Onyschuk
On Wed, 1 Aug 2012 22:49:05 -0400, Steven Blatchford wrote: > > I wanted to know how you use awk to get the same output as > "cut -d' ' -f3-" > This can be done on multiple ways in awk, here is one example (a bit extreme): awk '{$1=$2=""; $0=substr($0, 3)}1' -- Paul Onyschuk

Re: [dev] Build system: redo

2012-08-02 Thread Truls Becken
On 2012-08-02, at 00:15, pancake wrote: > Tup is cool but i find it quite bloated to depend on sqlite. And requires to > rebuild the cache for every new file. > > Apart from that the rules looks good and graph theory makes the papers cool. I have not tried Tup, but the idea of tracking dependen