0
votes
0answers
173 views

Implementation of text editor in shell programming [closed]

I have made a text editor in C. When I'm changing the extension of that file from .c to .sh and compiling the file in the terminal, some error is shown, like for the global variables an external error ...
10
votes
1answer
12k views

Command to append line to a text file without opening an editor

Assuming i have a line that i want to add to a file without opening an editor. How could i append this line alias list='ls -cl --group-directories-first' to this file config.fish