[Bug 1280336] [NEW] CoreUtils 8.13 /bin/ls "-1" (single column) parameter apparently positional

Lumenary 1280336 at bugs.launchpad.net
Fri Feb 14 15:21:59 UTC 2014


Public bug reported:

Hello,
 
 
 
On Ubuntu 12.04.3LTS (Precise Pangolin), using the stock "/bin/ls" (list directory) command, the location of the "-1" (a hyphen followed by the digit "one") parameter is apparently position dependent.
 
 
For example, this command generates unexpectedly incorrect output (leading periods used only for indentation purposes):
 
.. testuser at testhost:~/.unison$ ls -1 -x
.. Audiobooks.prf  Configuration.prf  default.prf  Documents.prf  Downloads.prf
.. Ebooks.prf      Emulation.prf      Music.prf    Pictures.prf   Podcasts.prf
.. Projects.prf    Templates.prf      Videos.prf
.. testuser at testhost:~/.unison$
 
(Spacing may not be accurately represented in a web browser; open attached text file in a text editor with a fixed-width font for an accurate example.)
 
 
While this command produces the correct output  (leading periods used only for indentation purposes):
 
.. testuser at testhost:~/.unison$ ls -x -1
.. Audiobooks.prf
.. Configuration.prf
.. default.prf
.. Documents.prf
.. Downloads.prf
.. Ebooks.prf
.. Emulation.prf
.. Music.prf
.. Pictures.prf
.. Podcasts.prf
.. Projects.prf
.. Templates.prf
.. Videos.prf
.. testuser at testhost:~/.unison$
 
(Spacing may not be accurately represented in a web browser; open attached text file in a text editor with a fixed-width font for an accurate example.)

 
This behaviour is unexpected and violates non-positional parameter guidelines.

** Affects: coreutils (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/1280336

Title:
  CoreUtils 8.13 /bin/ls "-1" (single column) parameter apparently
  positional

Status in “coreutils” package in Ubuntu:
  New

Bug description:
  Hello,
   
   
   
  On Ubuntu 12.04.3LTS (Precise Pangolin), using the stock "/bin/ls" (list directory) command, the location of the "-1" (a hyphen followed by the digit "one") parameter is apparently position dependent.
   
   
  For example, this command generates unexpectedly incorrect output (leading periods used only for indentation purposes):
   
  .. testuser at testhost:~/.unison$ ls -1 -x
  .. Audiobooks.prf  Configuration.prf  default.prf  Documents.prf  Downloads.prf
  .. Ebooks.prf      Emulation.prf      Music.prf    Pictures.prf   Podcasts.prf
  .. Projects.prf    Templates.prf      Videos.prf
  .. testuser at testhost:~/.unison$
   
  (Spacing may not be accurately represented in a web browser; open attached text file in a text editor with a fixed-width font for an accurate example.)
   
   
  While this command produces the correct output  (leading periods used only for indentation purposes):
   
  .. testuser at testhost:~/.unison$ ls -x -1
  .. Audiobooks.prf
  .. Configuration.prf
  .. default.prf
  .. Documents.prf
  .. Downloads.prf
  .. Ebooks.prf
  .. Emulation.prf
  .. Music.prf
  .. Pictures.prf
  .. Podcasts.prf
  .. Projects.prf
  .. Templates.prf
  .. Videos.prf
  .. testuser at testhost:~/.unison$
   
  (Spacing may not be accurately represented in a web browser; open attached text file in a text editor with a fixed-width font for an accurate example.)

   
  This behaviour is unexpected and violates non-positional parameter guidelines.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1280336/+subscriptions



More information about the foundations-bugs mailing list