logo       

[ ghc-Bugs-1164490 ] obtuse shell scripting in profiling docs: msg#00106

lang.haskell.glasgow.bugs

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

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@xxxxxxxxxx>



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

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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise