Skip to main content
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link

I would not use them for programming, and teaching the use of backtick substitution in shell scripts as obsolete is fine (this seems to be the consensus). I don't think they're inherently evil, however, and (at least judging by your average tutorial to Linux command line) they are still frequently used in simple snippets/one-liners where they probably won't be nested and things you're only going to do once.

See Command substitution: backticks or dollar sign / paren enclosed?Command substitution: backticks or dollar sign / paren enclosed?.

I would not use them for programming, and teaching the use of backtick substitution in shell scripts as obsolete is fine (this seems to be the consensus). I don't think they're inherently evil, however, and (at least judging by your average tutorial to Linux command line) they are still frequently used in simple snippets/one-liners where they probably won't be nested and things you're only going to do once.

See Command substitution: backticks or dollar sign / paren enclosed?.

I would not use them for programming, and teaching the use of backtick substitution in shell scripts as obsolete is fine (this seems to be the consensus). I don't think they're inherently evil, however, and (at least judging by your average tutorial to Linux command line) they are still frequently used in simple snippets/one-liners where they probably won't be nested and things you're only going to do once.

See Command substitution: backticks or dollar sign / paren enclosed?.

Source Link

I would not use them for programming, and teaching the use of backtick substitution in shell scripts as obsolete is fine (this seems to be the consensus). I don't think they're inherently evil, however, and (at least judging by your average tutorial to Linux command line) they are still frequently used in simple snippets/one-liners where they probably won't be nested and things you're only going to do once.

See Command substitution: backticks or dollar sign / paren enclosed?.