🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #17807

Re: Buscar el código de algunas ordenes Unix

#17807
From: oscar
Date: Tue, 09 Nov 1999 00:00
53 lines
2836 bytes
Alvaro Garrido Asensio <algaras@inf.upv.es> wrote:
>   Estoy interesado en estudiar el c�digo de algunas �rdenes, como sort, pero 
> no lo encuentro. �Sabeis d�nde se guardan estas fuentes?
>   Gracias y un saludo.

$ dpkg -S `which sort`
textutils: /usr/bin/sort

El paquete que buscas es el textutils
Por ejemplo en ftp.debian.org

$ ftp ftp.debian.org
Connected to ftp.debian.org.
ftp
220-       Welcome to the Debian Project Public Archive Server
220-
220-Access from cable49a143.usuarios.retecal.es is being logged.
220-There are currently 102 users on this system, out of a possible 180.
220-Please contact ftpmaster@ftp.debian.org if you have any problems
220-with this server. Available access methods are:
220-  http://ftp.debian.org/debian/  (prefered)
220-  ftp://ftp.debian.org/debian/
220-
220-This server is hosted by MindSpring Enterprises, Inc
220-(http://www.mindspring.net) and was donated by Linux Hardware
220-Solutions (http://www.linux-hw.com).
220-
220--- Mirrors: PLEASE do not use ls -lR but use the provided listing file
220-   instead!
220-
220 saens.debian.org FTP server (Version wu-2.6.0(1) Tue Oct 26 16:54:36 CEST 1999) ready.
Name (ftp.debian.org:oscar): 331 Guest login ok, send your complete e-mail address as password.
Password:
230 Guest login ok, access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd /pub/debian/dists/stable/main/source
250 CWD command successful.
ftp> ls */*textut*
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
-rw-rw-r--   2 ftp      ftp          3663 Mar 16  1998 base/textutils_1.22-2.4.diff.gz
-rw-rw-r--   2 ftp      ftp           632 Mar 16  1998 base/textutils_1.22-2.4.dsc
-rw-rw-r--   3 ftp      ftp        950561 Jan 28  1997 base/textutils_1.22.orig.tar.gz
226 Transfer complete.
ftp> cd base
250 CWD command successful.
ftp> bin
200 Type set to I.
ftp> mget textut*

:) Con eso conseguir�s el paquete textutils (fuentes) que contiene, 
entre otros, el programa sort 
Technical Details
Message-ID: <809iro$ohu$1@titan.bt.es>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <806agb$cu0$2@polaris.cc.upv.es>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f86c8,3ff3e808a67b8165
X-Google-Attributes: gidf86c8,public
From: oscar@server.enmicasa.dhs.org
Subject: Re: Buscar el código de algunas ordenes Unix
Date: 1999/11/09
Message-ID: <809iro$ohu$1@titan.bt.es>
X-Deja-AN: 546504205
Content-Transfer-Encoding: 8bit
References: <806agb$cu0$2@polaris.cc.upv.es>
Content-Type: text/plain; charset=ISO-8859-1
X-Complaints-To: abuse@bt.es
X-Trace: titan.bt.es 942165688 25150 212.22.49.143 (9 Nov 1999 16:41:28 GMT)
Organization: BT Tel. Netnews service (readers)
Mime-Version: 1.0
User-Agent: tin/pre-1.4-980226 (UNIX) (Linux/2.2.12 (i686))
NNTP-Posting-Date: 9 Nov 1999 16:41:28 GMT
Newsgroups: es.comp.os.linux.programacion