• 0 posts
  • 5 comments
Joined 3 years ago
Cake day: June 20th, 2023
  • I know this isn’t grep or awk but of you simply want the first part I would probably use cut as following: ``` cut -d : -f 1

    
    Simply put, cut the line in multiple parts with the colon as the delimiter and choose the first part.