1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-03-31 19:43:35 +02:00

Remove trailing whitespace.

Also, the script is a one-liner, stolen from [1]:

ack --print0 -l '[ \t]+$' | xargs -0 -n1 perl -pi -e 's/[ \t]+$//'

[1]
https://stackoverflow.com/questions/149057/how-to-remove-trailing-whitespace-of-all-files-recursively
This commit is contained in:
Doug Torrance
2020-04-09 00:00:14 -04:00
committed by Carlos R. Mafra
parent a17d131da3
commit 54a24ab6f7
109 changed files with 951 additions and 951 deletions

View File

@@ -30,7 +30,7 @@
# all of the KDE related items found. The script only needs to be run when/if
# KDE is updated.
#
#
#
# Installation and Configuration:
#
# 1) If /usr/bin/perl is not the location of the perl binary on your system,
@@ -123,7 +123,7 @@
# -----
#
# Programmatically determine the system location for the KDE menu
# directory.
# directory.
#
# Find a better way to parse the Exec= lines. In the short term,
# provide a user mechanism for generating exceptions to the curtailing
@@ -150,7 +150,7 @@ $prefix="/usr";
$basedir = $prefix."/share/applnk";
# Terminal to use. May be specified on the command line with the -t
# switch.
# switch.
$term = "xterm";
# Xmessage command line to invoke (can vary platform to platform)
@@ -283,7 +283,7 @@ sub process_dir {
# contents must be split. Directories are added to one array, files
# to a second. The lists are then sorted alphabetically by name and
# combined into a single list for processing by the rest of the
# subroutine.
# subroutine.
while (defined($file = readdir(TLD))) {
next if $file =~ /^\./;
if (-d "$path/$file") {