Python and Bash

2006-07-19 Thread Andrew Kezys
Not exactly a bug, perse. An oddity, however. I am writing some code in bash that will execute a python script, and carry on with some user input. Obivously, I called the python command through something like ( python test.py test.txt ) in order for it to be a process. However, this test.py progr

patch submission: "read -i" feature

2006-07-19 Thread Kevin Pulo
Hi, This patch for bash 3.1 adds a "-i" option to the read builtin. When this option is present and readline is being used (ie. -e also specified), it specifies the "initial text", which is placed into the readline edit buffer. This allows a "default" value to be automatically included on the us