How to convert to lowercase and uppercase in bash, awk, sed, and, tr and the benchmark results for each

This article introduces how to convert to lowercase and uppercase in bash, awk, sed, and tr, and the benchmark results for each. Versions The versions are as follows: OS Ubuntu 20.04.1 LTS bash GNU bash, version 5.0.17(1)-release (x86_64-pc-linux-gnu) gawk GNU Awk 5.0.1, API: 2.0 (GNU MPFR 4.0.2, GNU MP 6.2.0) mawk 1.3.4 20200120 sed sed (GNU sed) 4.7 tr tr (GNU coreutils) 8.30 Convert to lowercase/uppercase bash The documentation says the following:
Read more →

Send multipart/form-data requests with Vegeta

Vegeta is an HTTP load testing tool written in Go. When sending multipart/form-data requests in the API server benchmark, wrk requires writing lua to send the request. Vegeta could send the request easily without writing any code, so will share how to do it. vegeta has the subcommands attack, report, and dump, with attack sending an HTTP Request. The -targets option of vegeta attack can send HTTP requests flexibly by specifying the text of the request header and request body.
Read more →
Buy me a coffee