3 ms·
> who haven't wished they could edit their long commands in an editor rather than in the shell? That's called a shell script. I don't know what others threshol
by somat 2mo ago
> who haven't wished they could edit their long commands in an editor rather than in the shell?
That's called a shell script. I don't know what others thresholds are but mine is about three pipelines deep(or 80 characters whatever comes first) and I am going to write that son of a gun as a script. Mainly to have something named in the filesystem I can edit, same with my sql queries, I have a whole directory of long awkward mostly one off queries, psql has the \e command which helps but again I would rather have something named.