what is this script doing apart from removing coments?
It seems like the same solution would be solved with this script, so far: https://github.com/rubo77/ffm-packages/blob/2018.1.x/ffffm-button-bind/gluonShellDiet.sh
basically just remove coments with
sed '/^\s*\#[^!].*/d; /^\s*\#$/d' $1
It also removes newlines and replaces them with ;, which breaks a lot of stuff.
@6gk what do you mean? my command? or this repository?
This repository. @rubo77
I tried on a rather complicated project of mine and it broke so bad due to it.
So did you try my sed command instead? It should work fine
I know standard utils well enough, I don't really have a need for this either.
why dont u minify the script using ur minify script ? :))
از همگی بخاطر نظری که دادید سپاس گذارم