shell \ rewrite