Sort by

recency

|

45 Discussions

|

  • + 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

  • + 0 comments

    Just for something different:

    sed 'NN; s/\n/;/g'

  • + 0 comments
    paste -d';' - - - | awk '{print $0}'