[ ghc-Bugs-1164490 ] obtuse shell scripting in profiling docs

SourceForge.net noreply at sourceforge.net
Wed Mar 16 08:55:48 EST 2005


Bugs item #1164490, was opened at 2005-03-16 05:55
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1164490&group_id=8032

Category: Documentation
Group: 6.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: obtuse shell scripting in profiling docs

Initial Comment:
Hi!  I'm looking at this page:

http://haskell.org/ghc/docs/latest/html/users_guide/hp2ps.html

I see a shell command like this:

head -`fgrep -n END_SAMPLE FOO.hp | tail -1 | cut -d :
-f 1` FOO.hp     | hp2ps > FOO.ps


It looks like a complex way of saying:

grep END_SAMPLE FOO.hp | hp2ps > FOO.ps


The mantra is repeated a few times in that section, and
(assuming I'm not missing something) should be
simplified in each place.

Regards,

Tim Smith <tim at desert.net>



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1164490&group_id=8032



More information about the Glasgow-haskell-bugs mailing list