Bash · 293 bytes Raw Blame History
1 #!/bin/bash
2
3 # Simple test for enhanced readline functionality
4 echo "Testing enhanced readline functionality..."
5 echo "This should fallback to line-based input in non-interactive mode."
6
7 # Send some basic commands
8 echo -e "echo Phase2 works!\nhelp\nexit" | ./bin/fortsh
9
10 echo "Test completed."