News for hackers. Stuff that matters.
Re:Terminal escape sequences in Git commit email field by gspr on Monday March 29, 2021 @03:43AM (#26618652)
You can. Use your favorite programming language's interface for listing the content of a directory!

`ls` is for you, the human.

Re:Terminal escape sequences in Git commit email field by enriquto on Monday March 29, 2021 @07:07AM (#26619959)
In C, my favourite language, I would do this:

        system("ls");
Re:Terminal escape sequences in Git commit email field by cyberpunk on Monday March 29, 2021 @10:55AM (#26622636)
Please never do this; do not use system, it executes $SHELL and you can fall victim to various PATH munging attacks. :)