Q:

MD5 checksum with File size

My task is to generate MD5 checksum with filesize.  
I'm using "md5deep.exe" to generate checksum.  
For example, this is what it generates
32  6f9ded5211cf63f862f0c3c6f50d9ab6    /something.txt

First column = size,
Second column - md5 checksum,
last column = file name
is there anyway to switch columns?  i would like md5 checksum vale in first column and file size in second column.  Basically my script creates a text file. 
test.txt
32  6f9ded5211cf63f862f0c3c6f50d9ab6    /something.txt
46  05c66e7d62f1bc975cc9ccb5a44b7c24    /some1.txt
2853383 2fcd0e40e2a24aaa59c412b48c4d80fa    /something2.txt

or is there any way i can switch columns using perl? 

A:

Is an awk solution also acceptable? 
$ awk '{print $2,$1,$3}' test.txt
6f9ded5211cf63f862f0c3c6f50d9ab6 32 /something.txt
05c66e7d62f1bc975cc9ccb5a44b7c24 46 /some1.txt
2fcd0e40e2a24aaa59c412b48c4d80fa 2853383 /something2.txt

If not, you could use this perl variant:
$ perl -ane 'print "@F[1,0,2]\n"' test.txt
6f9ded5211cf63f862f0c3c6f50d9ab6 32 /something.txt
05c66e7d62f1bc975cc9ccb5a44b7c24 46 /some1.txt
2fcd0e40e2a24aaa59c412b48c4d80fa 2853383 /something2.txt

