if test -n "$argv[2]" echo (cat -- "$argv[1]" | sed -n $argv[2]p) fish -c (cat -- "$argv[1]" | sed -n $argv[2]p) else cat -n -- "$argv[1]" end