Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #231203

Re: URL to source file

From <tomas@tuxteam.de>
Newsgroups linux.debian.user
Subject Re: URL to source file
Date 2021-01-27 10:40 +0100
Message-ID <BBPsS-2UQ-9@gated-at.bofh.it> (permalink)
References <BBPjb-2RD-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Wed, Jan 27, 2021 at 10:21:29AM +0100, Emanuel Berg wrote:
> Hello, how can I get a hyperlink to a particular file in
> a pack?

You mean... a Debian package?

> e.g., definitions.units of the units pack, i.e.
> units-2.21/definitions.units ? TIA

If I understood you correctly, there are several ways to skin
that cat. Here's one:

Start at sources.debian.org:

  https://sources.debian.org/src/units/

then, decide on version (I'm going with Buster, aka stable):

  https://sources.debian.org/src/units/2.18-1/

(perhaps that's the 2.21 in your request up there?).

Then, there it is:

  https://sources.debian.org/src/units/2.18-1/definitions.units/  

Leave out the trailing slash if you want to get the raw file.

I don't know whether there is an automatic way to get at that
stuff (short of installing the package and asking `apt-file'
where that file is).

But sources.debian.org rocks (try its search engine, reachable
from the top):

  https://sources.debian.org/

Cheers
 - t

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

URL to source file Emanuel Berg <moasenwood@zoho.eu> - 2021-01-27 10:30 +0100
  Re: URL to source file <tomas@tuxteam.de> - 2021-01-27 10:40 +0100
    Re: URL to source file Emanuel Berg <moasenwood@zoho.eu> - 2021-01-27 11:00 +0100
      Re: URL to source file Emanuel Berg <moasenwood@zoho.eu> - 2021-01-27 11:10 +0100
        Re: URL to source file Emanuel Berg <moasenwood@zoho.eu> - 2021-01-27 11:20 +0100
          Re: URL to source file Emanuel Berg <moasenwood@zoho.eu> - 2021-01-27 11:50 +0100
            Re: URL to source file Emanuel Berg <moasenwood@zoho.eu> - 2021-01-27 12:10 +0100
              Re: URL to source file Vincent Lefevre <vincent@vinc17.net> - 2021-01-27 12:40 +0100
                Re: URL to source file Emanuel Berg <moasenwood@zoho.eu> - 2021-01-27 14:50 +0100
                Re: URL to source file Vincent Lefevre <vincent@vinc17.net> - 2021-01-28 02:30 +0100
                Re: URL to source file Greg Wooledge <wooledg@eeg.ccf.org> - 2021-01-28 14:20 +0100
                Re: URL to source file Vincent Lefevre <vincent@vinc17.net> - 2021-01-28 15:40 +0100
                Re: URL to source file Emanuel Berg <moasenwood@zoho.eu> - 2021-01-29 05:00 +0100
                Re: URL to source file Andrei POPESCU <andreimpopescu@gmail.com> - 2021-01-27 17:10 +0100
      Re: URL to source file <tomas@tuxteam.de> - 2021-01-27 11:30 +0100
      Re: URL to source file Stefan Monnier <monnier@iro.umontreal.ca> - 2021-01-27 16:00 +0100
        Re: URL to source file Emanuel Berg <moasenwood@zoho.eu> - 2021-01-27 16:20 +0100
        Re: URL to source file Emanuel Berg <moasenwood@zoho.eu> - 2021-01-27 16:30 +0100

csiph-web