Sort by

recency

|

47 Discussions

|

  • + 0 comments

    paste -sd '\t\t\n' | tr '\t' ';'

  • + 0 comments

    paste - - - | tr $"\t" ";"

  • + 0 comments

    paste -d';' - - -

  • + 0 comments
    #!/bin/bash
    
    paste -d ';' - - - $1
    

    my solution. Best solution!

  • + 1 comment

    Can anyone help, I am not geeting output

    number=0 while read lines ; do echo ((number+1)) if [[ $number == 3 ]] ;then paste -s -d ';' test1.txt rm test1.txt number=0 fi

    done