Hacker Newsnew | past | comments | ask | show | jobs | submit | g0xA52A2A's commentslogin


The latest Oxide and Friends podcast episode is - as one may expect - a great pairing if you enjoyed reading this.

https://youtu.be/3z_TQxe9jx4


I think this should be merged into/marked a dupe of https://news.ycombinator.com/item?id=41662596


Don't parse the output of ls, use globbing or find. Here are some examples https://mywiki.wooledge.org/ParsingLs


The problem is existing shell scripts not written by yourself.


This is why I encourage not overriding common commands in $PATH. Setup an alias instead so it only applies to interactive shells (or just type the new command :p).

Shell scripting is already fickle enough with compatibility issues across the major implemtations of POSIX utils (GNU, macOS/ BSD, Busybox). Even /bin/sh itself cannot be relied upon to behave consistently across platforms. Notably, Busybox's ash supports the non-POSIX substring syntax that Bash does. This won't work on distro's like Debian where /bin/sh is linked to dash shell.


Title truncated to fit within character limit.



Just to emphasize part of your comment as I think a lot a people aren't fully aware - Vim has an undo tree https://vimhelp.org/usr_32.txt.html#usr_32.txt



Not exactly. The linked post is from theregister announcing the fork. This post is the fork itself.


Maybe I'm just of a different vintage but I'm just not a fan of these e-mail newsleters that seem to be the trend these days. I'd much rather follow a Github repo for this sort of thing.


EmailNewsletters.Age > GitHub.Age ? “Showing my vintage” : “Kids these days”


I added the "(XNU inofleak)" to the title as I felt it was a bit too lacking in context without it. Hope that's OK.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: