News for hackers. Stuff that matters.
Re:Show HN: FSQL – Search through your file system with SQL-... by dTal on Monday May 15, 2017 @04:05PM (#14344675)
It's a shame Bash used 'select' as an elaborate menu built-in - it'd be quite neat to name the binary that (and drop the quotes). The you could just type the query right into your prompt!
Re:Show HN: FSQL – Search through your file system with SQL-... by koolba on Monday May 15, 2017 @04:11PM (#14344713)
You could use an alias. They're case sensitive so SELECT could be mapped without impacting the built in "select".
Re:Show HN: FSQL – Search through your file system with SQL-... by labster on Monday May 15, 2017 @04:38PM (#14344900)
Just use the fish shell instead, and you can avoid the years of shell cruft of bash, or the endless customization of zsh. Bash is a good environment for shell scripting, but not really the best for user interaction. Although perl is probably the best environment for shell scripting.
Re:Show HN: FSQL – Search through your file system with SQL-... by fnj on Monday May 15, 2017 @05:07PM (#14345131)
Xonsh is far better both interactively and for scripting than bash, fish, zsh, or perl.
Re:Show HN: FSQL – Search through your file system with SQL-... by lorenzhs on Tuesday May 16, 2017 @04:22AM (#14348142)
"alias select=command select" lets you override it.