Category Archives: sed

Use a shell function, check if a file exists, true or false

This script uses a shell function to check if a file exists (-f). It returns 0 (zero) if the file exists and 1 if it does not exist. You can write your own check functions for checking if a directory … Continue reading

Posted in bash, cut, function, linux, regex, sed, Uncategorized, windows | Tagged , , | Leave a comment