EnglishFrenchSpanish

OnWorks favicon

natsort - Online in the Cloud

Run natsort in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command natsort that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


natsort - Natural sorting for shell

DESCRIPTION


usage: natsort [-h] [--version] [-p] [-f LOW HIGH] [-F LOW HIGH] [-e EXCLUDE]

[-r] [-t {digit,int,float,version,ver,real,f,i,r,d}] [--nosign] [-s] [--noexp] [-l]
[entries [entries ...]]

Performs a natural sort on entries given on the command-line. A natural sort sorts
numerically then alphabetically, and will sort by numbers in the middle of an entry.

positional arguments:
entries
The entries to sort. Taken from stdin if nothing is given on the command line.

optional arguments:
-h, --help
show this help message and exit

--version
show program's version number and exit

-p, --paths
Interpret the input as file paths. This is not strictly necessary to sort all file
paths, but in cases where there are OS-generated file paths like "Folder/" and
"Folder (1)/", this option is needed to make the paths sorted in the order you
expect ("Folder/" before "Folder (1)/").

-f LOW HIGH, --filter LOW HIGH
Used for keeping only the entries that have a number falling in the given range.

-F LOW HIGH, --reverse-filter LOW HIGH
Used for excluding the entries that have a number falling in the given range.

-e EXCLUDE, --exclude EXCLUDE
Used to exclude an entry that contains a specific number.

-r, --reverse
Returns in reversed order.

-t {digit,int,float,version,ver,real,f,i,r,d}, --number-type
{digit,int,float,version,ver,real,f,i,r,d}, --number_type
{digit,int,float,version,ver,real,f,i,r,d}
Choose the type of number to search for. "float" will search for floating-point
numbers. "int" will only search for integers. "digit", "version", and "ver" are
synonyms for "int"."real" is a shortcut for "float" with --sign. "i" and "d" are
synonyms for "int", "f" is a synonym for "float", and "r" is a synonym for
"real".The default is int.

--nosign
Do not consider "+" or "-" as part of a number, i.e. do not take sign into
consideration. This is the default.

-s, --sign
Consider "+" or "-" as part of a number, i.e. take sign into consideration. The
default is unsigned.

--noexp
Do not consider an exponential as part of a number, i.e. 1e4, would be considered
as 1, "e", and 4, not as 10000. This only effects the --number-type=float.

-l, --locale
Causes natsort to use locale-aware sorting. You will get the best results if you
install PyICU.

Use natsort online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    strace
    strace
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • 2
    gMKVExtractGUI
    gMKVExtractGUI
    A GUI for mkvextract utility (part of
    MKVToolNix) which incorporates most (if
    not all) functionality of mkvextract and
    mkvinfo utilities. Written in C#NET 4.0,...
    Download gMKVExtractGUI
  • 3
    JasperReports Library
    JasperReports Library
    JasperReports Library is the
    world's most popular open source
    business intelligence and reporting
    engine. It is entirely written in Java
    and it is able to ...
    Download JasperReports Library
  • 4
    Frappe Books
    Frappe Books
    Frappe Books is a free and open source
    desktop book-keeping software that's
    simple and well-designed to be used by
    small businesses and freelancers. It'...
    Download Frappe Books
  • 5
    Numerical Python
    Numerical Python
    NEWS: NumPy 1.11.2 is the last release
    that will be made on sourceforge. Wheels
    for Windows, Mac, and Linux as well as
    archived source distributions can be fou...
    Download Numerical Python
  • 6
    CMU Sphinx
    CMU Sphinx
    CMUSphinx is a speaker-independent large
    vocabulary continuous speech recognizer
    released under BSD style license. It is
    also a collection of open source tools ...
    Download CMU Sphinx
  • More »

Linux commands

crm
crm
Use crm online using onworks.net
services. ...
Run crm
  • 4
    crmgr
    crmgr
    crmgr - administration utility for QDBM
    Curia ...
    Run crmgr
  • 5
    gappletviewer
    gappletviewer
    gappletviewer - Load and runs an applet
    ...
    Run gappletviewer
  • 6
    gaps
    gaps
    mummer - package for sequence alignment
    of multiple genomes ...
    Run gaps
  • s-processed="true">
    g15stats
    g15stats - A CPU/Memory/Swap usage
    meter for G15Daemon DESCRIPTION: The
    packages provides the following usage
    meter for LCD on some Logitech
    keyboards, usind g...
    Run g15stats
  • More »
  • Ad