January 11, 2016

unexpand command not working

Forums: 

Hi all, I don't know if I understood the command properly but I thought it was suppose to convert spaces into tabs in a file, here's how I'm using it:

[root@localhost people]# cat peoplelist1.txt
23 female Bianca Princeton
50 male George Yale
30 female Karen Harvard
35 male Andrew Berkeley
[root@localhost people]#
[root@localhost people]# unexpand peoplelist1.txt > peoplelisttab.txt
[root@localhost people]#
[root@localhost people]# cat peoplelisttab.txt
23 female Bianca Princeton
50 male George Yale
30 female Karen Harvard
35 male Andrew Berkeley
[root@localhost people]#
Click Here!