There was an error while loading. Please reload this page.
2 parents 78d44e6 + e6421dd commit 9eaa7f6Copy full SHA for 9eaa7f6
Convert-to-lower-case.sh
@@ -0,0 +1,8 @@
1
+#!/usr/bin/env
2
+echo -n "Enter file name: "
3
+read -r file
4
+if [ ! -f "$file" ]; then
5
+echo "Filename $file does not exist."
6
+exit 1
7
+fi
8
+tr '[:upper:]' '[:lower:]' < "$file" >> small.txt
0 commit comments