79339090

Date: 2025-01-08 12:16:26
Score: 2
Natty:
Report link

To answer the second part of the question, if you have the non-standard 'rev' (reverse) command available, simply reverse the line, then cut from the nth column to the end, then reverse back. e.g. '... | rev | cut -d. -f 2- | rev'

So to combine this is the first part of your question you would cut the first 'n' columns before the first rev.

Reasons:
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: late2party