Sinisterly
Simple challenge - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Coding (https://sinister.ly/Forum-Coding)
+--- Forum: Coding (https://sinister.ly/Forum-Coding--71)
+--- Thread: Simple challenge (/Thread-Simple-challenge)

Pages: 1 2 3


RE: Simple challenge - Reiko - 09-26-2013

Code:
function cat { exec 666<$1 until builtin [ $finished ]; do read <&666 aline if builtin [ $? != 0 ]; then finished=1; continue; fi echo $aline done unset finished exec 666>&- }
Code:
col < file
Code:
PAGER=cat man /full/path/tofile
Code:
python -c 'for x in open("file","r").readlines(): print x'



RE: Simple challenge - Oni - 09-27-2013

(09-26-2013, 11:29 PM)Starfall Wrote:
Code:
function cat { exec 666<$1 until builtin [ $finished ]; do read <&666 aline if builtin [ $? != 0 ]; then finished=1; continue; fi echo $aline done unset finished exec 666>&- }
Code:
col < file
Code:
PAGER=cat man /full/path/tofile
Code:
python -c 'for x in open("file","r").readlines(): print x'

So, Starfall managed to save 4 cats.


RE: Simple challenge - Cyanide and Cynicism - 09-27-2013

(09-27-2013, 12:12 AM)Oni Wrote: So, Starfall managed to save 4 cats.

She's a cat herself, doesn't count.


RE: Simple challenge - Oni - 09-27-2013

(09-27-2013, 12:23 AM)Cyanide and Cynicism Wrote: She's a cat herself, doesn't count.

Why not? Can't cats become monks?


RE: Simple challenge - Cyanide and Cynicism - 09-27-2013

(09-27-2013, 12:26 AM)Oni Wrote: Why not? Can't cats become monks?

Only honorary monks.


RE: Simple challenge - Phizo - 10-02-2013

You're all horrible people for letting the neko die.
Quote:[8/09/13 7:12:01 PM] Phizo: awk '{print}' works.
[9/09/13 11:12:35 AM] Starfall: winner
[9/09/13 11:13:01 AM] Phizo: cut -f1 file would work too.



Re: RE: Simple challenge - Oni - 10-02-2013

(10-02-2013, 01:45 PM)Phizo Wrote: You're all horrible people for letting the neko die.

Indeed. Castration should be in order.


RE: Simple challenge - Cyanide and Cynicism - 10-02-2013

(10-02-2013, 01:45 PM)Phizo Wrote: You're all horrible people for letting the neko die.

its not that they want to let kitte die, its that they cant save kitte because they're fucking morons.


RE: Simple challenge - yokai_old - 10-10-2013

lool

ok, magic time

~$ tac

I win.


RE: Simple challenge - Nefarious - 10-10-2013

(10-10-2013, 02:17 AM)yokai Wrote: lool

ok, magic time

~$ tac

I win.

No, you lose.