Neither can this utility, read the description.
In reply to Re: Re^2: unhead and untail by dmitri in thread unhead and untail by halley