retro-describe: remove use of -J from xargs as it is not supported by GNU
FossilOrigin-Name: b7c7e29a709ec6621782b64302f3e8a92f806bf9f8f73b69e8d2bdf54ef8c0d0
This commit is contained in:
parent
e9645e90b0
commit
33118ff158
1 changed files with 3 additions and 5 deletions
|
@ -9,13 +9,11 @@
|
||||||
#
|
#
|
||||||
# - retro
|
# - retro
|
||||||
# - retro-describe
|
# - retro-describe
|
||||||
|
# - retro-unu
|
||||||
#
|
#
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
# ./describe sourcefile
|
# ./describe sourcefile
|
||||||
|
|
||||||
# Extract | Split | Strip Blanks | Sort | Filter | Terminate | Generate | Strip Blanks
|
retro-unu $1 | tr " " "\n" | sed '/^[[:space:]]*$/d' | grep -Ev "^[\\\^\.\"\@\!\$\`:&'#$.\(\|]" | sort | uniq | tr "\n" "\0" | xargs -0 retro-describe | cat -s
|
||||||
retro-unu $1 | tr " " "\n" | sed '/^[[:space:]]*$/d' | grep -Ev "^[\\\^\.\"\@\!\$\`:&'#$.\(\|]" | sort | uniq | tr "\n" "\0" | xargs -0 -J % retro-describe | cat -s
|
retro-unu $1 | tr " " "\n" | sed '/^[[:space:]]*$/d' | cut -c1-1 | sort | uniq | grep "[\\\^\.\"\@\!\$\`:&'#$.\(\|]" | sed 's/^/prefix:/' | tr "\n" "\0" | xargs -0 retro-describe | cat -s
|
||||||
|
|
||||||
# Extract | Split | Strip Blanks | Get first | Sort | Filter | Find Prefixes | Generate word names | Terminate | Generate | Strip Blanks
|
|
||||||
retro-unu $1 | tr " " "\n" | sed '/^[[:space:]]*$/d' | cut -c1-1 | sort | uniq | grep "[\\\^\.\"\@\!\$\`:&'#$.\(\|]" | sed 's/^/prefix:/' | tr "\n" "\0" | xargs -0 -J % retro-describe | cat -s
|
|
||||||
|
|
Loading…
Reference in a new issue