» Home » restriced » Page 1
restriced key sort in unix
Category : Operating Systems

I have a file file1.txt with data:


2010/09/04,21:53:42.048,a
2010/09/04,21:53:40.923,b
2010/09/04,21:53:40.923,a
2010/09/04,21:50:42.048,a.

I want to sort the file based on time stamp. I am currently using


sort -t% -k1.1,1.23 file1.txt > file2.txt

My expected output is


2010/09/04,21:50:

View Replies


Can textbox input in C# be restriced to a formatted type?
Category : C & C++ & C#

I'd just like to know if there's a function/way to restrict input to a textbot to a formatted type e.g. a user can only enter a date type into a textbox; or a function similar to to the C scanset that I can use to achieve the same functionality?


Thanks


View Replies


Next
2012 / 2017 Copyrights BigHow , All Rights Reserved .