This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 341 - Show the filename as given on the command line
Summary: Show the filename as given on the command line
Status: RESOLVED WONTFIX
Alias: None
Product: LinkChecker
Classification: Unclassified
Component: checklink (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 minor
Target Milestone: ---
Assignee: Ville Skyttä
QA Contact:
URL: http://bugs.debian.org/cgi-bin/bugrep...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-16 01:19 UTC by Fr
Modified: 2003-09-17 17:53 UTC (History)
0 users

See Also:


Attachments

Description Fr 2003-09-16 01:19:16 UTC
Dan Jacobson <jidanni@jidanni.org> reported the following bug in the Debian
BTS (#211136):

There should be some way to turn off the extra long file name reporting

$ checklink index.html |sed 2!d
GET
file:/home/jidanni/mywebsites/kalyke.affordablehost.com/public_html/geo/taiwan_datums/index.html
 fetched in 0.0s

$ cd ..
$ checklink taiwan_datums/index.html |sed 2!d
GET
file:/home/jidanni/mywebsites/kalyke.affordablehost.com/public_html/geo/taiwan_datums/index.html
 fetched in 0.0s

and instead just refer to files as they were given on the command line.
Comment 1 Ville Skyttä 2003-09-17 13:53:33 UTC
I don't think its worth the trouble for two reasons.  First, a simple sed on the
results would work (the regexp might not be perfect but you get the idea):

  $ checklink index.html | sed "s|file:/*$PWD/||" | sed 2\!d
  GET index.html  fetched in 0.0s

Second, about adding features like this in general :)

  http://ometer.com/features.html