News for hackers. Stuff that matters.
Re:A shell exclamation mark is not for yelling. Be lazy. by wild_egg on Wednesday August 12, 2026 @07:03AM (#49270522)
Do you need to pipe the ruby output to bash? Ruby could just run the mv directly by wrapping in backticks instead of quotes.
Re:A shell exclamation mark is not for yelling. Be lazy. by zoky on Sunday August 16, 2026 @04:02AM (#49317899)
Running it through the pipe lets you preview the command first and make sure it actually looks correct. Then you just re-run the command and append the bash pipe.