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

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -