Skip to content
Snippets Groups Projects
Select Git revision
  • e18a9f7787f9e7efa9f01c2a71c993c7b9623b97
  • master default
2 results

php.debug.dwt.php

Blame
  • fixnotabfiles.sh 645 B
    #!/bin/sh
    #------------------------------------------------------
    # Script to find files that are not Unix encoded
    #
    # Laurent Destailleur - eldy@users.sourceforge.net
    #------------------------------------------------------
    # Usage: fixnotabfiles.sh [list|fix]
    #------------------------------------------------------
    
    # Syntax
    if [ "x$1" != "xlist" -a "x$1" != "xfix" ]
    then
    	echo "Usage: fixnotabfiles.sh [list|fix]"
    fi
    
    # To detec
    if [ "x$1" = "xlist" ]
    then
    	find build \( -iname "*.sh" -o -iname "*.spec" \) -exec grep -l -P '\t' {} \;
    fi
    
    # To convert
    if [ "x$1" = "xfix" ]
    then
    	echo Feature not implemented. Please fix files manually.
    fi