Add a Simple LOADING BAR To Your Shell Scripts!

  Рет қаралды 85,515

Cheesed Up

Cheesed Up

Күн бұрын

Пікірлер: 62
@benzo522
@benzo522 3 ай бұрын
Cheese@fridge lol
@sonap8620
@sonap8620 3 ай бұрын
lmao even
@blackIce504
@blackIce504 Ай бұрын
Love it, this should jaz up my scripts that i have for things.
@kaosce
@kaosce 3 ай бұрын
Would it not be simpler to write terminal_width / max_count characters instead of doing the 2 loops thing?
@cheesed_up
@cheesed_up 2 ай бұрын
This video is so old that I honestly have no idea what you are talking about - and you are probably right :)
@ixin645
@ixin645 2 ай бұрын
i was thinking of achieving that with some kind of a buffer for the current tty and using clear to update it to the next one (instead of remembering cursor position)
@jomix282
@jomix282 3 ай бұрын
Great job, very interesting, thanks for the video
@sharpfang
@sharpfang 3 ай бұрын
echo -n for no newline.
@slendi9623
@slendi9623 3 ай бұрын
Ain't that a gnu extension
@sharpfang
@sharpfang 3 ай бұрын
@@slendi9623 Dunno, it's been over 20 years since I last used non-gnu unix-like.
@FsFs3mk-u9n
@FsFs3mk-u9n 3 ай бұрын
He clearly stated POSIX compliance in the video, echo -n isn't
@martinrocket1436
@martinrocket1436 3 ай бұрын
And for n in $(seq 5) for five repetitions with n holding the integers from 1 to 5.
@martinrocket1436
@martinrocket1436 3 ай бұрын
​@@FsFs3mk-u9n good point! Thank you!
@khoaho1446
@khoaho1446 3 ай бұрын
Thank you sir
@Chemaclass
@Chemaclass 2 ай бұрын
Super cool!
@owenpierce
@owenpierce Ай бұрын
echo with -n flag won't print the trailing new line character similar to printf for anyone wondering
@cheesed_up
@cheesed_up Ай бұрын
It's not posix compliant though :/
@owenpierce
@owenpierce 9 күн бұрын
@@cheesed_up True 😢
@thomashenden71
@thomashenden71 Ай бұрын
Tired of waiting for an uknown time watching forever spinning wheels? ❂ Well - let’s MPBGA! "MAKE PROGRESS BARS GREAT AGAIN!" 😄
@cheesed_up
@cheesed_up Ай бұрын
I love this!
@null11q
@null11q 2 ай бұрын
Cool
@shenmuea
@shenmuea 2 ай бұрын
great video! How can I implement this in a system update script I made?
@cheesed_up
@cheesed_up 2 ай бұрын
I think there should be info about this in the readma (see description for the link to the project). But essentially, you copy these functions to your script and call them at appropriate times.
@sterlingphoenix
@sterlingphoenix Ай бұрын
This is the third time I've seen someone tough filename before editing it... and I'm not sure why. vi (or any other editor) will happily save the new file for you.
@BestHacksForever
@BestHacksForever 2 жыл бұрын
thanks! i subbed!
@Anonymous-pm3qz
@Anonymous-pm3qz Ай бұрын
is it possible to use it with arch linux's pacman ?
@cheesed_up
@cheesed_up Ай бұрын
Hmm, not sure what you mean. Pacman has it's own implementation built in - and it's probably written in C, not in shell script. I hope I answered your question, sorry if I misunderstood it :)
@Exotic69420
@Exotic69420 3 ай бұрын
nice shell
@SugarBeetMC
@SugarBeetMC 3 ай бұрын
for Python: pip install tqdm
@friedrichmyers
@friedrichmyers 3 ай бұрын
And you will forever stay a fucking mediocre dev
@friedrichmyers
@friedrichmyers 3 ай бұрын
Shit developers use such ways and don't learn
@fuzzboi
@fuzzboi 3 ай бұрын
Soo good developers have to know how to display a loading bar for your shell script?😂
@friedrichmyers
@friedrichmyers 3 ай бұрын
@@fuzzboi Good developers have to know that it is stupid to use too many packages when simple logic can do the work. Remember what happened to leftPad? Become a good developer and then bother replying.
@fuzzboi
@fuzzboi 3 ай бұрын
@@friedrichmyers go and touch some grass buddy. A good developer knows what is worth spending time on and what is not.
@EverythingTechTime
@EverythingTechTime Ай бұрын
Looking at the thumbnail made me realize I've been writing too much brainfk
@cheesed_up
@cheesed_up Ай бұрын
RIP in peace - I just died of laughter.
@Fernando-du5uj
@Fernando-du5uj 3 ай бұрын
Cool. Thanks
@pavelyankouski4913
@pavelyankouski4913 3 ай бұрын
ASCII stuff
@laughingvampire7555
@laughingvampire7555 3 ай бұрын
fuck posix compliance
@cheesed_up
@cheesed_up 2 ай бұрын
:0
@DaMu24
@DaMu24 Ай бұрын
outdated
@cheesed_up
@cheesed_up Ай бұрын
You are probably right!
Become a shell wizard in ~12 mins
12:25
CODE IS EVERYTHING
Рет қаралды 259 М.
The Midpoint Circle Algorithm Explained Step by Step
13:33
NoBS Code
Рет қаралды 135 М.
How to Fight a Gross Man 😡
00:19
Alan Chikin Chow
Рет қаралды 13 МЛН
When u fight over the armrest
00:41
Adam W
Рет қаралды 31 МЛН
كم بصير عمركم عام ٢٠٢٥😍 #shorts #hasanandnour
00:27
hasan and nour shorts
Рет қаралды 10 МЛН
Just enough assembly to blow your mind
29:31
Kay Lack
Рет қаралды 140 М.
BASH scripting will change your life
14:18
NetworkChuck
Рет қаралды 1 МЛН
Creating a window - Software from Scratch
1:04:12
Muukid
Рет қаралды 138 М.
How to Crack Software (Reverse Engineering)
16:16
Eric Parker
Рет қаралды 715 М.
WHY IS THE HEAP SO SLOW?
17:53
Core Dumped
Рет қаралды 272 М.
Progress Bars in Python Terminal
11:54
NeuralNine
Рет қаралды 105 М.
Bash Progress Bar ~ Spinner
5:56
Professor Kazanjian
Рет қаралды 5 М.
How to Fight a Gross Man 😡
00:19
Alan Chikin Chow
Рет қаралды 13 МЛН