On 2020-08-23 02:53, Patrick O'Callaghan wrote:
On Sat, 2020-08-22 at 18:21 -0700, ToddAndMargo via users wrote:
- Why do you use "sed -n 1,1p" in GetGW?
Because I only wanted the first line. Sometimes
with that commend you get two lines back. I am
covering all my bases.
head -1
poc
Interesting. It will print the first lines or the last lines. Thank you!
Sed allows me to pick which ones I want.