Перейти к содержимому

A viewer tried to implement `GOTO` in Bash... it's a hack

You Suck at Programming

0:00 / 0:00

A viewer tried to implement `GOTO` in Bash... it's a hack

12 317 просмотров · 1 месяц назад
You Suck at Programming
120 тыс. подписчиков
12 317 просмотров · 1 месяц назад
Support me on Patreon   / yousuckatprogramming   Learn Bash! Free Course https://course.ysap.sh Shoutout JacobUTS on discord File Descriptor Video    • Understanding File Descriptors in Unix/Linux   $ chapters 0:00 - the challenge 1:25 - jacob's forward goto 4:32 - i get distracted 7:17 - jacob's backwards goto 11:51 - abusing set -a 13:10 - /proc/self/fd/255 in bash 14:52 - my attempt 16:15 - DEBUG trap & extdebug magic 19:42 - state machine 21:50 - label logic 25:11 - testing my version 26:46 - final verdict $ whoami Yo what's up everyone my name's dave and you suck at programming! Connect with me on my socials below and if you're reading this you're legally required to subscribe to my channel. $ cat source-code The source code for my YSAP series (or related videos) is available for free under the MIT License on GitHub: Source Code → https://github.com/bahamas10/ysap $ cat socials Instagram →   / yousuckatprogramming   YouTube →    / @yousuckatprogramming   $ cat more-links Website → https://ysap.sh Merch → https://ysap.sh/merch Discord → https://ysap.sh/discord TikTok → https://ysap.sh/tiktok Patreon → https://ysap.sh/patreon Ko-fi (donate) → https://ysap.sh/ko-fi $ cat keywords you suck at programming #programming #devops #bash #linux #unix #software #terminal #shellscripting #tech #stem