Teljes szöveg:
- Hálózati okosságok
- === <file> #!/bin/bash # Usage: ./download_file 'https://www.baeldung.com/java-weekly-495' 'java_weekly... }" wBASE="${af%%/*}" wSUB="${af#*/}" HTTP_REQUEST="$({ echo -en 'GET /'"${wSUB}"' HTTP/1.1\r\n' echo -en 'Host: '"${wBASE}"'\r\n'... lose\r\n\r\n' })" if [[ "${wPROTO,,}" = 'https' ]] ; then echo "${HTTP_REQUEST}" | open
- Szkriptelés
- fo rm -f /tmp/$$-out-fifo fi forrás [[https://stackoverflow.com/questions/3173131/redirect-c... d variables beginning with varprefix.| forrás: [[http://tldp.org/LDP/abs/html/parameter-substitution.ht... e range 0 - 255| ==== Színezés ==== ANSI2HTML [[https://github.com/pixelb/scripts/blob/master/scripts/ansi2html.sh]] Színkódok [[https://misc.flogisoft.com/bash/tip_colors_and_formatt