Phillip Wood <phillip.wood123@xxxxxxxxx> writes: >> - grep -v -e \# -e ^$ work >patches && >> + sed -e s/#.*// work | grep -v ^$ >patches && > > I think we could just use 'sed -n "!/^#/p work >patches &&" here Or even "sed -e '/^#/d' -e '/^$/d'" ?
Phillip Wood <phillip.wood123@xxxxxxxxx> writes: >> - grep -v -e \# -e ^$ work >patches && >> + sed -e s/#.*// work | grep -v ^$ >patches && > > I think we could just use 'sed -n "!/^#/p work >patches &&" here Or even "sed -e '/^#/d' -e '/^$/d'" ?
![]() |