On 2024-12-12 13:30, Lawrence Velázquez wrote:
That's the sort of comment that would save a beginner endless hours of grief. One should know what to expect. I myself expected something as clean and precise as C. To know ahead of time that shell is nothing like C, and that cleanliness has been long since lost in the pursuit of power -- but that that power can be awesome -- would have been invaluable.I don't begrudge anyone their productivity shortcuts, but IMO there are too many asterisks and pitfalls to recommend the short forms. (Shell scripting is already a minefield of asterisks and pitfalls and other mixed metaphors; new ones should be introduced with care.)