Before Debian, what Linux distribution you were using ?
Red Hat / Fedora Mandrake Suse Slackware Gentoo LFS Always been with Debian Other ( 73 votes ~ 5 comments )
You are not currently logged in. If you do not have a user account then please consider creating one and logging in before you post your comment. This will allow you to track replies to your comment, and take part in the site much more freely.
To add your comment, fill in all the boxes below and then preview it to make sure you're happy with the way that it looks.
This is the comment you were replying to, attached to the weblog bash read/readline prepopulation questions
#1 Re: bash read/readline prepopulation questions Posted by drgraefy (216.254.xx.xx) on Tue 4 Mar 2008 at 18:55 so I notice that the "echo -n foo | read.." line produces an error, and the redirect from file does not. read is probably complaining about the lack of newline in the echo bit, which is presumably why it's not returning the stdin into the output variable. anyway, it's still a real shame as far as I'm concerned, since it means that the bash read is probably not able to do what I want: prepopulate a read input field with data. still looking for other ideas, if they're out there.
so I notice that the "echo -n foo | read.." line produces an error, and the redirect from file does not. read is probably complaining about the lack of newline in the echo bit, which is presumably why it's not returning the stdin into the output variable.
anyway, it's still a real shame as far as I'm concerned, since it means that the bash read is probably not able to do what I want: prepopulate a read input field with data. still looking for other ideas, if they're out there.
Posting Format:
Inappropriate comments will be removed.
Some help on entry formatting is available
Username:
Password:
[ Advanced Login ]
Register Account