Applications of customised linear pulse shaping in all-optical signal processing