|
Rockbox mail archiveSubject: Re: problem compiling latest svn codeRe: problem compiling latest svn code
From: Magnus Holmgren <lear_at_algonet.se>
Date: Sun, 24 Feb 2008 13:09:16 +0100 alex wallis wrote: >> ls -l apps/lang/* | awk '{print $5}' | sort -n | tail -1 >> >> It generates the number at the end, and it sounds like the result is >> something else. > > I put in the above command as you suggested, and the output i got was none. > Literally just the word none. Seems like the ls output is different from expected for some reason. If you type something like this: ls -l apps/lang/s* what is the output of that? It should create a list like this: -rw-r--r-- 1 Name None 3127 Feb 24 10:14 apps/lang/slovenscina.lng -rw-r--r-- 1 Name None 9349 Feb 24 10:14 apps/lang/svenska.lng but in your case, there seem to be an extra space column before the size. Maybe your user name ("Name" in the above) contains a space? Don't know if that's possible though... If it is, this should work as expected: ls -ln apps/lang/* | awk '{print $5}' | sort -n | tail -1 Magnus Received on 2008-02-24 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |