Search Results

Search: Posts Made By: Scrutinizer
11,903
Posted By Scrutinizer
It does not work that way. $(<file) is a special...
It does not work that way. $(<file) is a special case, which is a faster alternative to $(cat file). If you are using anything other than just a file, it becomes something else. $( ... ) is just...
11,903
Posted By Scrutinizer
They are only equivalent in bash, ksh93 and zsh. ...
They are only equivalent in bash, ksh93 and zsh. $(< file) is faster than $(cat file), but the latter is POSIX compliant whereas the former is not.
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 09:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy