RE: Simple challenge 09-13-2013, 03:03 AM
#11
| Simple challenge filter_list | |
RE: Simple challenge 09-13-2013, 10:25 PM
#12
Does anyone want to make an attempt at it?
By the way w00t, your code doesn't work. Forgot to mention it in my last post.
By the way w00t, your code doesn't work. Forgot to mention it in my last post.
RE: Simple challenge 09-14-2013, 12:54 AM
#13
Just clarifying, but are you just looking for an alternative command or must we design a function that will perform the same operation as the commands listed?
RE: Simple challenge 09-14-2013, 09:10 PM
#14
Seriously, this is simple shit. Can anyone do it?
Anything that doesn't directly use cat is fine, Oni's example allowed him to use it without directly using the name which is fine. Although, using a completely different function is best.
(09-14-2013, 12:54 AM)Aristotle Wrote: Just clarifying, but are you just looking for an alternative command or must we design a function that will perform the same operation as the commands listed?
Anything that doesn't directly use cat is fine, Oni's example allowed him to use it without directly using the name which is fine. Although, using a completely different function is best.
RE: Simple challenge 09-22-2013, 12:05 AM
#17
ok w00t fokin kunt
lol beat me.
Quote:tac /directory/of/file > /directory/of/output && tac /directory/of/output
lol beat me.
RE: Simple challenge 09-22-2013, 01:49 AM
#18
Code:
echo "#include <stdio.h> int main() {FILE *fh;fh=fopen("file.txt","r");fseek(fp,0,SEEK_END); int sz = ftell(fp);fseek(fp,0,SEEK_SET);while(c=getc(fh) != EOF){putchar(c)}return 0;}" > main.c && gcc main.c && ./a.outIf that actually runs I'll be amazed, can't check currently.
EDIT: Forgot to return + final }
Users browsing this thread: 1 Guest(s)










![[Image: 7ajmN5P.jpg]](https://i.imgur.com/7ajmN5P.jpg)
![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)






![[Image: b3f0a97bdadd6fe3f12f4c4e28584085_zpsbfbc8c42.png]](http://i1237.photobucket.com/albums/ff475/purphexyon/b3f0a97bdadd6fe3f12f4c4e28584085_zpsbfbc8c42.png)