14a1a9510SRong-En Fan#!/bin/sh 2*21817992SBaptiste Daroussin# $Id: csort,v 1.4 2021/09/04 15:55:29 tom Exp $ 34a1a9510SRong-En Fan############################################################################## 4*21817992SBaptiste Daroussin# Copyright 2020,2021 Thomas E. Dickey # 5e1865124SBaptiste Daroussin# Copyright 2002 Free Software Foundation, Inc. # 64a1a9510SRong-En Fan# # 74a1a9510SRong-En Fan# Permission is hereby granted, free of charge, to any person obtaining a # 84a1a9510SRong-En Fan# copy of this software and associated documentation files (the "Software"), # 94a1a9510SRong-En Fan# to deal in the Software without restriction, including without limitation # 104a1a9510SRong-En Fan# the rights to use, copy, modify, merge, publish, distribute, distribute # 114a1a9510SRong-En Fan# with modifications, sublicense, and/or sell copies of the Software, and to # 124a1a9510SRong-En Fan# permit persons to whom the Software is furnished to do so, subject to the # 134a1a9510SRong-En Fan# following conditions: # 144a1a9510SRong-En Fan# # 154a1a9510SRong-En Fan# The above copyright notice and this permission notice shall be included in # 164a1a9510SRong-En Fan# all copies or substantial portions of the Software. # 174a1a9510SRong-En Fan# # 184a1a9510SRong-En Fan# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # 194a1a9510SRong-En Fan# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # 204a1a9510SRong-En Fan# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL # 214a1a9510SRong-En Fan# THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # 224a1a9510SRong-En Fan# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING # 234a1a9510SRong-En Fan# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER # 244a1a9510SRong-En Fan# DEALINGS IN THE SOFTWARE. # 254a1a9510SRong-En Fan# # 264a1a9510SRong-En Fan# Except as contained in this notice, the name(s) of the above copyright # 274a1a9510SRong-En Fan# holders shall not be used in advertising or otherwise to promote the sale, # 284a1a9510SRong-En Fan# use or other dealings in this Software without prior written # 294a1a9510SRong-En Fan# authorization. # 304a1a9510SRong-En Fan############################################################################## 314a1a9510SRong-En Fan# 324a1a9510SRong-En Fan# override anything that might cause 'sort' to do the wrong thing... 334a1a9510SRong-En FanLANG=C; export LANG 344a1a9510SRong-En FanLANGUAGE=C; export LANGUAGE 354a1a9510SRong-En FanLC_ALL=C; export LC_ALL 364a1a9510SRong-En FanLC_CTYPE=C; export LC_CTYPE 37*21817992SBaptiste Daroussinsort "$@" 38