id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	os	architecture	failure	difficulty	testcase	blockedby	blocking	related
328	obtuse shell scripting in profiling docs	nobody	nobody	"{{{
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@desert.net>


}}}"	bug	closed	normal		Documentation	6.4	None										
