Giter VIP home page Giter VIP logo

posix-multibyte-tests's Introduction

posix-multibyte-tests

POSIX P1003.2

awk

Field separator is an extended regular expression, which is defined on characters, not bytes.

length, index, and substr count characters.

tolower and toupper transform strings according to the locale.

comm

Unspecified behavior if files are not in locale collating sequence

cut

  • -c cuts on character counts
  • -d cuts at delimiter characters

dd

conv=lcase and conv=ucase do case folding

diff

  • -b ignores end of line whitespace, which is locale-defined

fold

Counts characters.

  • -s has a special case for blanks, which are locale-defined

join

Files are to be sorted with sort -b

  • -t specifies the field separator character; requires sort without -b.

ls

Writes filenames in collating sequence order

  • -q transforms unprintable characters
  • -r reverses collation

paste

  • -d sets delimiter characters

pr

  • -e can expand some arbitrary character instead of tab
  • -i can unexpand some arbitrary character instead of tab
  • -n takes a character for the separator
  • -s takes a character for the column separator
  • -w counts columns: are these characters?

sed

  • y transliterates characters

sort

Uses locale collation

  • -d: Only blanks and alphanumeric characters count for collation
  • -f: Folds case
  • -i: Ignores nonprintable characters
  • -n: Sorts on locale-defined numbers
  • -b: Ignores leading blanks
  • -t: Sets field separator character

tr

Transliterates characters

Multibyte characters are written as multiple \nnn sequences

uniq

  • -f skips fields defined by locale blanks
  • -s ignores a number of characters

wc

  • -m counts characters

POSIX P1003.2a (User Portability Extension)

ex

Buffer and mark names are lowercase letters of the POSIX locale

Substitutions can use \l, \u, \L, \U for case mapping

paragraphs and sections work by character pairs

expand

Counts characters for tab expansion

strings

Looks for runs of printable characters

unexpand

Counts characters; looks for locale blanks

posix-multibyte-tests's People

Contributors

e-n-f avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.