What ascii character would sort before the dot character?
-
In Midnight Commander, files beginning with dot (hidden files) are sorted first and this make browsing in home directory quite difficult. Is there a character that I can use that would be sorted before the dot? Note: I know that I can hide the hidden files with Alt+..
-
Answer:
Midnight Commander just sort non alphabetic characters as they are ordered in the ASCII standard. Just have a look at http://www.asciitable.com/ and pick any character before the dot (number 46 decimal). As you see... the choice is narrow. Depending on the operating system you use, some characters are not usable. For Windows and Linux, you can just use a space, but this can be very missleading. And you'll need to use quotes around each such filenames when using the command line.
Sorin Sbarnea at Super User Visit the source
Other answers
Take a look at http://en.wikipedia.org/wiki/ISO/IEC_8859-1. That said, you may prefer to use a UTF8 locale, which will ignore the dots: export LANG=en_US.UTF-8 (substitute your locale information as appropriate).
geekosaur
In fact there are two answers: you can use $ and - (removed characters that are not accepted by major filesystems). Second: it is impossible in mc because mc will always display the dot first.
Sorin Sbarnea
Related Q & A:
- What is the Green Dot prepaid mastercard?Best solution by Yahoo! Answers
- What are some good character customization games for the 360?Best solution by Yahoo! Answers
- What are DOT-files?Best solution by Ask Ubuntu
- What is a tiny black bug with a white dot on its back?Best solution by answers.yahoo.com
- What is the electron dot structure?Best solution by ChaCha
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.