- Ensure Python is installed on your system.
- Save
convert-text-list.py
andconvert-to-list.sh
in the same directory. - Make the bash script executable:
chmod +x convert-to-list.sh
Run the converter with:
./convert-to-list.sh your_input_file.txt
Replace your_input_file.txt
with the path to your input file.