I have a vector of following numbers1_0.011100  1_0.003500  1_0.013700  0_0.011500I would like unix code that selects only the number before the under score.The outcome should be1  1  1  0and could you please make it applicable to run it over 500 columns?
Unix code that returns the first number
text processing;numeric data