[opensuse] is "ls -A" broken or am I crazy?
- From: "David C. Rankin" <drankinatty@xxxxxxxxxxxxxxxxxx>
- Date: Mon, 17 Mar 2008 01:24:00 -0500
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
- Follow-Ups:
- Re: [opensuse] is "ls -A" broken or am I crazy?
- From: Randall R Schulz
- Re: [opensuse] is "ls -A" broken or am I crazy?
- From: Benji Weber
- Re: [opensuse] is "ls -A" broken or am I crazy?
- From: Michal Marek
- Re: [opensuse] is "ls -A" broken or am I crazy?
- From: Ciro Iriarte
- Re: [opensuse] is "ls -A" broken or am I crazy?
- Prev by Date: Re: [opensuse] Webcam / Skype question
- Next by Date: Re: [opensuse] is "ls -A" broken or am I crazy?
- Previous by thread: [opensuse] bluetooth mouse problems
- Next by thread: Re: [opensuse] is "ls -A" broken or am I crazy?
- Index(es):
Relevant Pages
|