[rlug] sort :: sdaa dupa sdz

Octavian Chelu tavy72 at gmail.com
Mon May 11 18:01:27 EEST 2020


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 at 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 



More information about the RLUG mailing list