I'm trying to cut the output of something that returns several lines. I only want one of the lines, say the first one. How can I do that with the cut command? Specifically, I can't figure out what the delimiter should be for a new line (\n doesn't work).
Example:
blahblah | cut -d "delimiter" -f 1
I don't have to use cut, either, so if you have another suggestion I'm all ears. FYI, I tried, but I couldn't figure out how to do it in awk.