This repository has been archived on 2026-04-17. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
bhlib/util/trim-whitespace.sh
Mikhail Romanko 0683389d7b Improved build system and POSIX compatibility
Fixed few bugs related to build system and POSIX compatabilty.
2025-04-05 13:55:06 +03:00

4 lines
125 B
Bash
Executable File

#!/bin/sh
find . \( -iname "*.h" -o -iname "*.c" \) -exec sed -i .bak "s/[ ]*$//" {} \;
find . -iname "*.bak" -exec rm {} \;