use leftonly for shell