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.
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)
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.
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 :)
@@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.
Cheese@fridge lol
lmao even
Love it, this should jaz up my scripts that i have for things.
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.
Would it not be simpler to write terminal_width / max_count characters instead of doing the 2 loops thing?
This video is so old that I honestly have no idea what you are talking about - and you are probably right :)
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)
Great job, very interesting, thanks for the video
echo -n for no newline.
Ain't that a gnu extension
@@slendi9623 Dunno, it's been over 20 years since I last used non-gnu unix-like.
He clearly stated POSIX compliance in the video, echo -n isn't
And for n in $(seq 5) for five repetitions with n holding the integers from 1 to 5.
@@FsFs3mk-u9n good point! Thank you!
Tired of waiting for an uknown time watching forever spinning wheels? ❂
Well - let’s MPBGA!
"MAKE PROGRESS BARS GREAT AGAIN!"
😄
I love this!
Thank you sir
great video! How can I implement this in a system update script I made?
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.
Super cool!
is it possible to use it with arch linux's pacman ?
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 :)
Cool
echo with -n flag won't print the trailing new line character similar to printf for anyone wondering
It's not posix compliant though :/
Looking at the thumbnail made me realize I've been writing too much brainfk
RIP in peace - I just died of laughter.
Cool. Thanks
nice shell
thanks! i subbed!
for Python: pip install tqdm
And you will forever stay a fucking mediocre dev
Shit developers use such ways and don't learn
Soo good developers have to know how to display a loading bar for your shell script?😂
@@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.
@@friedrichmyers go and touch some grass buddy. A good developer knows what is worth spending time on and what is not.
ASCII stuff
fuck posix compliance
:0