File indexing completed on 2024-05-12 04:17:32
0001 #!/bin/bash 0002 0003 # =========================================================== 0004 # 0005 # This file is a part of digiKam project 0006 # https://www.digikam.org 0007 # 0008 # Date: 2011-11-02 0009 # Description: Script to drop trailing whitespace at end line. 0010 # 0011 # Copyright (C) 2011-2024 by Gilles Caulier <caulier dot gilles at gmail dot com> 0012 # 0013 # SPDX-License-Identifier: BSD-3-Clause 0014 # 0015 # ============================================================ 0016 0017 find -name '*.cpp' -print0 | xargs -r0 sed -e 's/[[:blank:]]\+$//' -i 0018 find -name '*.h' -print0 | xargs -r0 sed -e 's/[[:blank:]]\+$//' -i