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

Lumenary 1280336 at bugs.launchpad.net
Fri Feb 14 15:30:39 UTC 2014


Text file attached with example results from the CoreUtils "/bin/ls" command.
 


** Attachment added: "Output of "/bin/ls" command using a standard 80x24 Terminal ("/usr/bin/gnome-terminal")"
   https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1280336/+attachment/3980836/+files/Bug-1280336__Ubuntu-12.04.3LTS__CoreUtils-8.13__--bin--ls-Command__ParametersPositionDependency_20140214.txt

-- 
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