[opensuse] is "ls -A" broken or am I crazy?



Listmates,

According to man ls, option [-A, --almost-all] "do not list implied . and .." However, when I use ls -A or ls --almost-all, the "." and ".." files are still there?

For example, in a script that adds artist_album information to mp3 tracks, I have had to use sed to get rid of the dots like:

# list=$(ls -A | sed '/^\./d'); for i in $list; do echo "trac $i = $artist_$album-$i"; done

ls -A on its own should not include the dots in the list and sed shouldn't be required at all. So is this really a problem with "ls"? And, if it is an ls bug, where do I need to file it?

Ok, and after a week ski trip with my 8, 5 and 2 year old, I am probably a bit crazy. What says the braintrust on the ls issue.

--
David C. Rankin, J.D., P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • Re: Sound of j and z in Hindi films and songs
    ... "Official Policy" to remove the dots from j-dot etc, ... there was a practice of writing an anuswar on certain words like ... the dictionaries and the script followed later. ... I also notice that the more vibrant a language more tolerant it is. ...
    (rec.music.indian.misc)
  • Re: Iraqi road sign?
    ... >>> dots above. ... Kurdish uses jim with one dot over and one dot ... >> caucasian languages, circassian and perhaps avar and a few others use ... this script is still in use by diaspora ...
    (sci.lang)
  • Re: Word formatting help please
    ... only it's done something in autoformat or autocorrect that I can't get rid of and I can't find anything in the help files because I don't know what to call it. ... Whether my cursor is in front of the line of dots or after it either delete or backspace just goes to the next character after or before and moves the line of dots down to below the next line. ... What the chuff has Word done and how do I get rid of it? ... Third option takes you into the Auto Correct Dialog Box where you can set a number of autoformat options. ...
    (rec.arts.sf.composition)
  • Re: In Word 2002 how do I remove all those dots (.............) be
    ... Hello Chuck....It's more than just not seeing the dots on the screen. ... > used for format troubleshooting. ... >> How do I get rid of all of those dots? ... They are nonprinting characters. ...
    (microsoft.public.word.docmanagement)
  • Re: Echoing "dots"
    ... > script is waiting for a return (in my case, ... "echoing dots". ... sleep is finished, etc. Take a look at the threads available on Google ...
    (comp.unix.shell)