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

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -