Bash command with cut and pipe, No such file or directory error -
i on windows , use cmdr shell. command doesn't work :
cut -s -d'"' -f2 file.txt | tr "[a-z]" "[a-z]
i error :
cut: '|': no such file or directory cut: tr: no such file or directory cut: '[a-z]': no such file or directory cut: '[a-z]': no such file or directory
moreover, command works , gives results:
cut -s -d'"' -f2 file.txt
the following command works well:
tr "[a-z]" "[a-z]" < file.txt
Comments
Post a Comment