I may be very bad at implementing the progress bars mentioned here: How to add a progress bar to a shell script?. But I would very much like a progress bar for a shell install script I am making. It could (in terms of looks) be similar to this,
'[ (00%)]/'
'[##### (33%)]\'
'[################## (66%)]-'
'[##########################(100%)]|'
where we have a progress bar, a percentage counter and a spinning device. I would very much like for it to be modular so that I can use in other projects too but perhaps I then ask for something which is too complicated. I do not know how and what it should count, but I thought that it would be somewhat smart to simply count the number of lines executed in my script and compare this number to the total number of lines, but I am of course open for other suggestions.