mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-13 04:15:50 +01: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:
committed by
Carlos R. Mafra
parent
a17d131da3
commit
54a24ab6f7
@@ -22,7 +22,7 @@ wdwrite_LDADD = $(top_builddir)/WINGs/libWUtil.la $(liblist)
|
||||
|
||||
wdread_LDADD = $(top_builddir)/WINGs/libWUtil.la $(liblist)
|
||||
|
||||
wxcopy_LDADD = @XLFLAGS@ @XLIBS@
|
||||
wxcopy_LDADD = @XLFLAGS@ @XLIBS@
|
||||
|
||||
wxpaste_LDADD = @XLFLAGS@ @XLIBS@
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ wm-oldmenu2new - converts between the plain text file menu format to the
|
||||
|
||||
bughint- gathers some information for bug reporting
|
||||
|
||||
geticonset- outputs the current set of icon assignments. Good for making
|
||||
geticonset- outputs the current set of icon assignments. Good for making
|
||||
themes.
|
||||
|
||||
setstyle- load style settings from a style file and setup WindowMaker
|
||||
@@ -14,7 +14,7 @@ getstyle - gets current style settings and save into a file or create
|
||||
seticons- merges icon definitions into WMWindowAttributes file
|
||||
|
||||
|
||||
wmaker.inst- quick and dirty script to install necessary files from
|
||||
wmaker.inst- quick and dirty script to install necessary files from
|
||||
global configuration to user's directory. Look in the script to
|
||||
adapt it to your site.
|
||||
|
||||
|
||||
@@ -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") {
|
||||
|
||||
@@ -134,7 +134,7 @@ perl - $T <<-'EOF' > $T-p
|
||||
}
|
||||
@foo2=();
|
||||
for (@foo) {
|
||||
|
||||
|
||||
s/^(\s*)"([^"]*)"\s\s*OPEN_MENU\s\s*(.*)$/\1($v\n\1"\2",$v\n\1OPEN_MENU,$v\n\1"\3"$v\n\1),/;
|
||||
push @foo2,split "\n";
|
||||
}
|
||||
@@ -152,7 +152,7 @@ s/^(\s*)"([^"]*)"\s\s*OPEN_MENU\s\s*(.*)$/\1($v\n\1"\2",$v\n\1OPEN_MENU,$v\n\1"\
|
||||
}
|
||||
@foo=();
|
||||
for (@foo2) {
|
||||
s/^(\s*)([^
|
||||
s/^(\s*)([^
|
||||
]*)\s\s*OPEN_MENU\s\s*(.*)$/\1($v\n\1"\2",$v\n\1OPEN_MENU,$v\n\1"\3"$v\n\1),/;
|
||||
push @foo,split "\n";
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ make_script() {
|
||||
ISCRIPT="$1"
|
||||
|
||||
cat << EOF >> "$ISCRIPT"
|
||||
# Window Maker default X session startup script
|
||||
# Window Maker default X session startup script
|
||||
|
||||
PATH="\$PATH:$BINDIR"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user