Code: Select all
ls -l > myprog
Code: Select all
ls -l > file.txt
cat file.txt > myprog
Ordinarily it would be:
Code: Select all
gdb myprog
run < file.txt
Best regards,
Rick C. Hodgin
Code: Select all
ls -l > myprog
Code: Select all
ls -l > file.txt
cat file.txt > myprog
Code: Select all
gdb myprog
run < file.txt