fix sed rule for bsd sed, add more bsd instructions