11 lines
205 B
Bash
11 lines
205 B
Bash
echo "Enter file name without extentions"
|
|
read filename
|
|
|
|
filename="${filename}.dan"
|
|
|
|
echo "Save - CTRL + D"
|
|
|
|
cat > "$filename"
|
|
|
|
echo "Your text has been saved to $filename."
|
|
#<3 (no idea why I wrote that)
|