Not in front of a keyboard, but does tr not work? echo "something in turkish" | LC_ALL=tr_TR tr "[:lower:]" "[:upper:]"
Kapı açık -> KAPı AçıK
However this worked: gawk '{ print toupper($0) }'
21–30 of 44 posts
Not in front of a keyboard, but does tr not work? echo "something in turkish" | LC_ALL=tr_TR tr "[:lower:]" "[:upper:]"
Kapı açık -> KAPı AçıK
However this worked: gawk '{ print toupper($0) }'
Also on windows, C:\Windows\System32\cscript.exe ( https://en.wikipedia.org/wiki/Windows_Script_Host ) Which run a less modern version of ECMA script, but does have access to COM objects
Not in front of a keyboard, but does tr not work? echo "something in turkish" | LC_ALL=tr_TR tr "[:lower:]" "[:upper:]"
It failed to convert the diacritics for me with LC_ALL="tr_TR.UTF-8" matching my /etc/locale.gen. Kapı açık -> KAPı AçıK However this worked: gawk '{ print toupper($0) }'
https://unix.stackexchange.com/questions/554901/how-to-chang...
Also on windows, C:\Windows\System32\cscript.exe ( https://en.wikipedia.org/wiki/Windows_Script_Host ) Which run a less modern version of ECMA script, but does have access to COM objects
Also on windows, C:\Windows\System32\cscript.exe ( https://en.wikipedia.org/wiki/Windows_Script_Host ) Which run a less modern version of ECMA script, but does have access to COM objects
Neat. Also if you've got java installed, there's jrunscript jjs Both invoke the nashorn javascript engine.
Earlier quoted context omitted.
Yeah, there isn't really any reason to use it over something like nodejs, especially since it doesn't look like the code is portable (e.g. print instead of console.log, etc.). It's not like it's the only scripting language available either, OSX comes with ruby, python2, python3 and perl by default.
My understanding is that macOS doesn't ship those runtimes anymore.
% which perl
/usr/bin/perl
% which python2
/usr/bin/python2
% which python3
/usr/bin/python3
% which ruby
/usr/bin/rubyJavascript is more fun away from the web The most fun I've ever had programming was in max/msp https://cycling74.com/ things that are difficult to do in code, processing multiple simultaneous signals is done visually, running lines between object, but when you do want to write code, you open a code window and write javascript, and can then run visual patch cables to your javascript code representing the inputs and ou…
Earlier quoted context omitted.
Yeah, there isn't really any reason to use it over something like nodejs, especially since it doesn't look like the code is portable (e.g. print instead of console.log, etc.). It's not like it's the only scripting language available either, OSX comes with ruby, python2, python3 and perl by default.
My understanding is that macOS doesn't ship those runtimes anymore.