Replaces commands/fold. No Minix-specific changes needed. Change-Id: Iefa9a082f900bb8c3a9f2f9f827ccbbd97c935f5