▲ 579 ▼ This guy’s a real Upstart if you ask me (lemmy.world) submitted 16 hours ago by cannedtuna@lemmy.world to c/linuxmemes@lemmy.world 121 comments fedilink hide all child comments
[–] Viceversa@lemmy.world 4 points 8 hours ago* (1 child) Really completely different? Do they not print first / last lines of text from a file into the terminal? permalink fedilink source parent hideshow 2 child comments replies: [–] LodeMike@lemmy.today 1 point 6 hours ago* (1 child) The way they do it is fundamentally different. Head just reads until number of newlines is the target number. Tail has to first read the entire file and keep a buffer of the file and/or offsets for each line ending to determine what the last 10 (or so) lines are. This idiot (Gabriel) probably thinks exclusively in the real world paper line analog. I also just looked at each program's command line options and they're identical. Less things only Tail can do (because they're fundamentally different operations) permalink fedilink source parent hideshow 2 child comments replies: [–] qqq@lemmy.world 4 points 5 hours ago* (1 child) This idiot (Gabriel) probably thinks exclusively in the real world paper line analog. Typical of Internet discourse to just immediately brand someone you disagree with an idiot... That "idiot" is one of the designers of common lisp, among other things. You're allowed to disagree with a smart person too you know permalink fedilink source parent hideshow 2 child comments replies: [–] LodeMike@lemmy.today -2 points 4 hours ago* OK. Designers of programming languages can be idiots. Lisp is a bad language IMO. Way too mathy. Nobody programs like that anymore for a reason. permalink fedilink source parent
[–] LodeMike@lemmy.today 1 point 6 hours ago* (1 child) The way they do it is fundamentally different. Head just reads until number of newlines is the target number. Tail has to first read the entire file and keep a buffer of the file and/or offsets for each line ending to determine what the last 10 (or so) lines are. This idiot (Gabriel) probably thinks exclusively in the real world paper line analog. I also just looked at each program's command line options and they're identical. Less things only Tail can do (because they're fundamentally different operations) permalink fedilink source parent hideshow 2 child comments replies: [–] qqq@lemmy.world 4 points 5 hours ago* (1 child) This idiot (Gabriel) probably thinks exclusively in the real world paper line analog. Typical of Internet discourse to just immediately brand someone you disagree with an idiot... That "idiot" is one of the designers of common lisp, among other things. You're allowed to disagree with a smart person too you know permalink fedilink source parent hideshow 2 child comments replies: [–] LodeMike@lemmy.today -2 points 4 hours ago* OK. Designers of programming languages can be idiots. Lisp is a bad language IMO. Way too mathy. Nobody programs like that anymore for a reason. permalink fedilink source parent
[–] qqq@lemmy.world 4 points 5 hours ago* (1 child) This idiot (Gabriel) probably thinks exclusively in the real world paper line analog. Typical of Internet discourse to just immediately brand someone you disagree with an idiot... That "idiot" is one of the designers of common lisp, among other things. You're allowed to disagree with a smart person too you know permalink fedilink source parent hideshow 2 child comments replies: [–] LodeMike@lemmy.today -2 points 4 hours ago* OK. Designers of programming languages can be idiots. Lisp is a bad language IMO. Way too mathy. Nobody programs like that anymore for a reason. permalink fedilink source parent
[–] LodeMike@lemmy.today -2 points 4 hours ago* OK. Designers of programming languages can be idiots. Lisp is a bad language IMO. Way too mathy. Nobody programs like that anymore for a reason. permalink fedilink source parent