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

4 lines
125 B
Bash
Raw Normal View History

2025-01-18 17:24:36 +03:00
#!/bin/sh
find . \( -iname "*.h" -o -iname "*.c" \) -exec sed -i .bak "s/[ ]*$//" {} \;
find . -iname "*.bak" -exec rm {} \;