On duminică, 10 mai 2020 18:54:16 EEST Adrian Sevcenco wrote: > Salutare! Are cineva idee cum pot sa fac sort-ul sa imi puna sdaa sdab dupa > sdz? momentan imi tot da: > sda > sdab > un numare de deviceuri cu 4 litere > tot restul deviceurilor cu 3 litere > sdz > > Multumesc! > Adrian > > _______________________________________________ > RLUG mailing list > RLUG@lists.lug.ro > http://lists.lug.ro/mailman/listinfo/rlug_lists.lug.ro
$ ls /dev/sd* |sort -t '/' --key 3.4,3.4 --key 3.3,3.3 _______________________________________________ RLUG mailing list RLUG@lists.lug.ro http://lists.lug.ro/mailman/listinfo/rlug_lists.lug.ro