Sort by

recency

|

39 Discussions

|

  • + 0 comments

    while read N do echo "$N" >> file.txt done sort -n -r < file.txt

  • + 0 comments

    Simple Code

    while read FILE;
    do
    echo "$FILE" >> file.txt
    done
    sort -g -r < file.txt
    
  • + 0 comments

    sort -nr

  • + 0 comments
    while read input; do 
        echo $input >> temp.txt;
    done
    sort -n -r < temp.txt
    
  • + 0 comments
    #!/bin/bash
    
    while read FILE;
    do
    echo "$FILE" >> file.txt
    done
    sort -g -r < file.txt