I still don't get how to use a pipeline in a shell properly...
I understand the concept of transferring the output of command1 to command2's input, but that's all I get.
If I try something different than a text-searching command like grep, say
vi arg, how would I do this?
If I would try
echo filename | viI'd get this response:
Quote
Vim: Warning: Input is not from a terminal
Vim: Error reading input, exiting...
Vim: Error reading input, exiting...
What's a work-around to this?
And much more importantly: what's the logic? ("teach a man to fish...")
In fact this is my general problem, and I think my only downer and problem when it comes to programming: I don't understand the logic and functions of certain symbols or syntaxes, and I never see an easily addressed explanation about these issues anywhere.
The only places I've seen such actual "references" explained, is very simple symbols explained in newbie tutorials (like 3 pages about how "<" is a starting tag and ">" an ending tag...), or very slow and spread-all-over explanations in books. Like you have to actually read the entire book and follow and analyze every god **** example in the book to get it, even if you're only gonna use 2% of the actual examples. I'm getting frustrated again:D
It feels like the world is becoming socialist: put 99% of the resources in making dumb people normal and **** the smart people, "they can educate themselves" and is the reason why I have 10 undeveloped interests and a minor ulcers.


Sign In
Create Account


Back to top









