If I'm writing a script where the user will be inputting a file path, would it be possible to use the 'read' command and allow the user to use tab to auto complete it?
Tab-completion in a bash script, right? I'm pretty sure it's possible because I seem to recall seeing it. Not sure how you would accomplish it. Off to Google (not exactly being clear or helpful here)
__________________ -->Marc Error: Keyboard not attached. Please press F1 to continue. <pre>-------OS----------Gentoo Linux-------<br>------Browser-----Mozilla Firefox-----</pre><form action="http://www.srsyo.org/tfsearch.php" method="get"><input type="text" name="search"> <input type="submit" name="submit" value="Search the Forums, thanks to Emily"></form> |||Official Forum Rules|||<hr>
Wow, that really confuses me I think that's on the right track, now how would I go about adding that to a script? I tried a couple different things to no avail.