From 6108b21841457651ff9c049eddf89e107130c6c9 Mon Sep 17 00:00:00 2001 From: philsmd Date: Sun, 6 Dec 2015 19:01:22 +0100 Subject: [PATCH] remove trailing spaces --- extra/tab_completion/oclHashcat64.sh | 8 ++++---- tools/rules_test/Makefile | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/extra/tab_completion/oclHashcat64.sh b/extra/tab_completion/oclHashcat64.sh index 1b6994d53..b6758614f 100644 --- a/extra/tab_completion/oclHashcat64.sh +++ b/extra/tab_completion/oclHashcat64.sh @@ -70,7 +70,7 @@ _oclHashcat_get_permutations () if [ "${next_num}" -lt ${max_device} -a "${next_num}" -le "${num_devices}" ]; then out_str=$(echo ${out_str} | sed "s/,${cur_num},/,${next_num},/;s/,${cur_num}\$/,${next_num}/") - + else pos_changed=1 @@ -154,7 +154,7 @@ _oclHashcat_cpu_devices () _oclHashcat_contains () { local haystack=${1} - local needle="${2}" + local needle="${2}" if echo "${haystack}" | grep -q " ${needle} " 2> /dev/null; then return 0 @@ -429,7 +429,7 @@ _oclHashcat () # check if first option out of (hash.txt and dictionary|mask|directory) # is first option iff: here - # is second option iff: COMP_CWORD > 2 and no switch before (-*) if no option afterwards (for mask -a 3, -a 6, -a 7 - but possible for dicts!) + # is second option iff: COMP_CWORD > 2 and no switch before (-*) if no option afterwards (for mask -a 3, -a 6, -a 7 - but possible for dicts!) local h=1 local no_opts=0 @@ -518,7 +518,7 @@ _oclHashcat () done - case "${no_opts}" in + case "${no_opts}" in 0) return 0 diff --git a/tools/rules_test/Makefile b/tools/rules_test/Makefile index 795f74b47..d45e49297 100644 --- a/tools/rules_test/Makefile +++ b/tools/rules_test/Makefile @@ -3,7 +3,7 @@ ## License.....: MIT ## -GCC := /usr/bin/x86_64-linux-gnu-gcc-4.6 +GCC := /usr/bin/x86_64-linux-gnu-gcc-4.6 ROOT := ../../ CFLAGS := -O2 -s -ansi -pipe -W -Wall -I$(ROOT)include/ LIBS :=