HackerRank - Cut #9

April - 25/2025

Problem:

Given a tab delimited file with several columns (tsv format) print the fields from second fields to last field.

# Input

# Output

# Solution

            
    cut -f 2-
    

# Solution_01

            
    cut -d $'\t' -f 2-
    

# Solution_02

            
    while read line
    do
        echo "$line" | cut -d $'\t'  -f 2-
    done
    

Post: