From: David K. <da...@ke...> - 2018-11-02 13:24:37
|
Nice piece of cleanup. My first thought was did you check for any cases where a trailing space is actually required. For example IFS=' ' which makes space and newline the separator. I don't know if we have any of those, and if we do it is probably bad practice anyway. David On Fri, Nov 2, 2018 at 9:15 AM Lonnie Abelbeck <li...@lo...> wrote: > Hi Devs, > > Yesterday I cleaned-up trailing spaces in our scripts, many years of > copy/paste'ing and an old Busybox "vi" auto-indent "feature". > > scripts, remove trailing spaces, cosmetic, no functional change > > https://github.com/astlinux-project/astlinux/compare/c7ab5b16f26e...f7d41203769f > > In general this should not effect anyone. > > But, if by chance you maintain a patch referencing the astlinux github > repository, these space removals could break patches, PR's, etc. . If that > happens, remove such trailing spaces in your custom script changes by using > sed "in-place" ... > > $ sed -i 's/ *$//' custom_astlinux_script > > Alternatively, if you are using "vi", search using '/ *$' to find any > trailing spaces. > > Lonnie > > > > > > _______________________________________________ > Astlinux-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/astlinux-devel > |