how to add output of user input? Use nano editor to create script from the scratch which will output the text provided as an argument, the name of the editor used to create the file and whether or not the text is longer then 10 symbols on the same line divided by semicolons and surrounded by double quotes (e.g. somescript this is text should output "this is text"; "nano"; "more then 10 symbols").
#!/bin/bash
if [ `echo "$1" | awk '{print length}'` -gt 10 ]
then
echo '"$1";"nano";"more than 10 symbols"'
else
echo '"$1";"nano";'
fi
here you need to add the output of the text entered by the user (it is necessary to output what you pass to the script as an argument)