Welcome to new things

[Technical] [Electronic work] [Gadget] [Game] memo writing

ShellScript

Using Return Values in Shell Script Functions

I was using shell scripts and the scripts were getting long and hard to read, so I tried to summarize them with functions. However, the return values of shell script functions are different from those of functions in other programming lang…

How to encode and decode URLs with shell scripts

This is a memo on how to encode and decode URLs with shell scripts. You can find many ways to do this by searching. https://stackoverflow.com/questions/296536/how-to-urlencode-data-for-curl-command At first, we tried using nkf for both enc…