We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
  • HackerRank Home

    HackerRank

  • |
  • Prepare
  • Certify
  • Compete
  • Apply
  • Hiring developers?
  1. Prepare
  2. Linux Shell
  3. Text Processing
  4. Cut #5
  5. Discussions

Cut #5

Problem
Submissions
Leaderboard
Discussions
Editorial
Tutorial

    You are viewing a single comment's thread. Return to all comments →

  • mona87
    7 years ago+ 2 comments

    cut -d $'\t' -f1-3 worked for me. -d only takes only one character so cut -d ' ' -f1-3 wouldn't work. also cut -d "\t" -f1-3 wouldn't work.

    9|
    Permalink
  • Blog
  • Scoring
  • Environment
  • FAQ
  • About Us
  • Support
  • Careers
  • Terms Of Service
  • Privacy Policy