diff --git a/bin/rmcore b/bin/rmcore deleted file mode 100755 index fb90f57d9..000000000 --- a/bin/rmcore +++ /dev/null @@ -1,67 +0,0 @@ -#!/bin/sh -#------------------------------------------------------------------------------ -# ========= | -# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox -# \\ / O peration | -# \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation -# \\/ M anipulation | -#------------------------------------------------------------------------------- -# License -# This file is part of OpenFOAM. -# -# OpenFOAM is free software: you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenFOAM. If not, see . -# -# Script -# rmcore -# -# Description -# remove all core files -#------------------------------------------------------------------------------ - -usage() { - cat</dev/null - else - echo "no directory: $i" 1>&2 - fi -done - -#------------------------------------------------------------------------------ diff --git a/bin/rm~all b/bin/rm~all deleted file mode 100755 index 1aa47316e..000000000 --- a/bin/rm~all +++ /dev/null @@ -1,63 +0,0 @@ -#!/bin/sh -#------------------------------------------------------------------------------ -# ========= | -# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox -# \\ / O peration | -# \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation -# \\/ M anipulation | -#------------------------------------------------------------------------------- -# License -# This file is part of OpenFOAM. -# -# OpenFOAM is free software: you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenFOAM. If not, see . -# -# Script -# rm~all -# -# Description -# remove all *~ files -#------------------------------------------------------------------------------ - -usage() { - cat</dev/null - else - echo "no directory: $i" 1>&2 - fi -done - -#------------------------------------------------------------------------------ diff --git a/etc/config.sh/bash_completion b/etc/config.sh/bash_completion index 34cbd3116..2b1494b43 100644 --- a/etc/config.sh/bash_completion +++ b/etc/config.sh/bash_completion @@ -6638,46 +6638,6 @@ _ptot_ () } complete -o filenames -o nospace -F _ptot_ ptot -_rm~all_ () -{ - local cur="${COMP_WORDS[COMP_CWORD]}" - local prev="${COMP_WORDS[COMP_CWORD-1]}" - local line=${COMP_LINE} - local used=$(echo "$line" | grep -oE "\-[a-zA-Z]+ ") - - opts="-help" - for o in $used ; do opts="${opts/$o/}" ; done - extra="-d" - - [ "$COMP_CWORD" = 1 ] || \ - case "$prev" in - -*) ;; - *) opts="";; - esac - COMPREPLY=( $(compgen -W "${opts}" $extra -- ${cur}) ) -} -complete -o filenames -o nospace -F _rm~all_ rm~all - -_rmcore_ () -{ - local cur="${COMP_WORDS[COMP_CWORD]}" - local prev="${COMP_WORDS[COMP_CWORD-1]}" - local line=${COMP_LINE} - local used=$(echo "$line" | grep -oE "\-[a-zA-Z]+ ") - - opts="-help" - for o in $used ; do opts="${opts/$o/}" ; done - extra="-d" - - [ "$COMP_CWORD" = 1 ] || \ - case "$prev" in - -*) ;; - *) opts="";; - esac - COMPREPLY=( $(compgen -W "${opts}" $extra -- ${cur}) ) -} -complete -o filenames -o nospace -F _rmcore_ rmcore - _sample_ () { local cur="${COMP_WORDS[COMP_CWORD]}"