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

Popular posts from this blog

ios - Assigning a value out of array of arrays, using section in Xcode -

javascript - Website analyzer -