Re: Opinions on PowerShell?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hunter Connelly via arch-general <arch-general@xxxxxxxxxxxxx> wrote:

> Here's an example I found on Reddit in the thread about this on /r/linux.
> Both of the following commands find the size and name of the three largest files
> in a directory.
>
> Bash:        ls -l | sed 's/ \+/,/g' | cut -d',' -f 5,9 | sort -g | tail -3
> PowerShell:  ls -file | sort -pr length | select length, name -l 3

If it overlays standardized behavior by non-standard behavior, this would 
indeed be a strong afrument against it.

Jörg

-- 
 EMail:joerg@xxxxxxxxxx                    (home) Jörg Schilling D-13353 Berlin
       joerg.schilling@xxxxxxxxxxxxxxxxxxx (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.org/private/ http://sourceforge.net/projects/schilytools/files/'



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux