On 2/3/24 10:43 PM, Oğuz wrote:
I want to make one too. Multiline commands retrieved from history can be
short-circuited like this:
$ ls
x y
$ echo '
> rm *
> ' >z
$
$ ls
x y z
$ echo ''
rm *
' >z
> ^C
$ ls
$
After the second invocation of `ls' I add a single quote and hit enter
accidentally, and lose all my files. I wish it didn't happen
What's the specific request here?
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/