Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
In Bash and the Z shell, at least, there is a faster way:
CONFIG_DATA=$(<config)
To quote from the Bourne Again shell's man page:
The command substitution $(cat file) can be replaced by the equivalent but faster $(< file).
In Bash, at least, there is a faster way:
To quote from the man page:
try this.....In Bash, at least, there is a faster way:
try this.....