Nelze vybrat více než 25 témat
Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
|
- #!/bin/bash
- # Usage: nicegrep NICE MAXMEMORY ARG...
- # Executes grep with the provided arguments using `nice -n NICE` and `ulimit -v MAXMEMORY`
- nice="$1"; shift
- maxMemory="$1"; shift
- ulimit -v "${maxMemory}"
- exec nice -n "${nice}" grep "$@"
|