I want to display at a specific line, e.g. line 4, from a text file in Terminal (I need this for character counts, using
wc). I'm sure this is a simple problem but
read -e 1 filename doesn't do it.
What can be used to accomplish this task?
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.Sign up to join this community