Login
You're viewing the mastodonapp.uk public feed.
  • Aug 25, 2026, 9:56 AM

    @lemgandi Why spawn a subshell and tr when Bash parameter expansion does it natively? 😉
    NEWFILENAME="${INFILE// /_}"
    (And remember to quote ${NEWFILENAME} in that mv before ShellCheck gets upset!)

    💬 1🔄 0⭐ 0

Replies