|
|
@ -17,23 +17,37 @@ function __gnu_utils {
|
|
|
|
local cmd
|
|
|
|
local cmd
|
|
|
|
local prefix
|
|
|
|
local prefix
|
|
|
|
|
|
|
|
|
|
|
|
# GNU Coreutils.
|
|
|
|
gcmds=(
|
|
|
|
gcmds=('g[' 'gbase64' 'gbasename' 'gcat' 'gchcon' 'gchgrp' 'gchmod'
|
|
|
|
# Coreutils
|
|
|
|
'gchown' 'gchroot' 'gcksum' 'gcomm' 'gcp' 'gcsplit' 'gcut' 'gdate'
|
|
|
|
'g[' 'gbase64' 'gbasename' 'gcat' 'gchcon' 'gchgrp' 'gchmod' 'gchown'
|
|
|
|
'gdd' 'gdf' 'gdir' 'gdircolors' 'gdirname' 'gdu' 'gecho' 'genv' 'gexpand'
|
|
|
|
'gchroot' 'gcksum' 'gcomm' 'gcp' 'gcsplit' 'gcut' 'gdate' 'gdd' 'gdf'
|
|
|
|
'gexpr' 'gfactor' 'gfalse' 'gfmt' 'gfold' 'ggroups' 'ghead' 'ghostid'
|
|
|
|
'gdir' 'gdircolors' 'gdirname' 'gdu' 'gecho' 'genv' 'gexpand' 'gexpr'
|
|
|
|
'gid' 'ginstall' 'gjoin' 'gkill' 'glink' 'gln' 'glogname' 'gls' 'gmd5sum'
|
|
|
|
'gfactor' 'gfalse' 'gfmt' 'gfold' 'ggroups' 'ghead' 'ghostid' 'gid'
|
|
|
|
|
|
|
|
'ginstall' 'gjoin' 'gkill' 'glink' 'gln' 'glogname' 'gls' 'gmd5sum'
|
|
|
|
'gmkdir' 'gmkfifo' 'gmknod' 'gmktemp' 'gmv' 'gnice' 'gnl' 'gnohup' 'gnproc'
|
|
|
|
'gmkdir' 'gmkfifo' 'gmknod' 'gmktemp' 'gmv' 'gnice' 'gnl' 'gnohup' 'gnproc'
|
|
|
|
'god' 'gpaste' 'gpathchk' 'gpinky' 'gpr' 'gprintenv' 'gprintf' 'gptx' 'gpwd'
|
|
|
|
'god' 'gpaste' 'gpathchk' 'gpinee' 'gpr' 'gprintenv' 'gprintf' 'gptx'
|
|
|
|
'greadlink' 'grm' 'grmdir' 'gruncon' 'gseq' 'gsha1sum' 'gsha224sum'
|
|
|
|
'gpwd' 'greadlink' 'grealpath' 'grm' 'grmdir' 'gruncon' 'gseq' 'gsha1sum'
|
|
|
|
'gsha256sum' 'gsha384sum' 'gsha512sum' 'gshred' 'gshuf' 'gsleep' 'gsort'
|
|
|
|
'gsha224sum' 'gsha256sum' 'gsha384sum' 'gsha512sum' 'gshred' 'gshuf'
|
|
|
|
'gsplit' 'gstat' 'gstty' 'gsum' 'gsync' 'gtac' 'gtail' 'gtee' 'gtest'
|
|
|
|
'gsleep' 'gsort' 'gsplit' 'gstat' 'gstty' 'gsum' 'gsync' 'gtac' 'gtail'
|
|
|
|
'gtimeout' 'gtouch' 'gtr' 'gtrue' 'gtruncate' 'gtsort' 'gtty' 'guname'
|
|
|
|
'gtee' 'gtest' 'gtimeout' 'gtouch' 'gtr' 'gtrue' 'gtruncate' 'gtsort'
|
|
|
|
'gunexpand' 'guniq' 'gunlink' 'guptime' 'gusers' 'gvdir' 'gwc' 'gwho'
|
|
|
|
'gtty' 'guname' 'gunexpand' 'guniq' 'gunlink' 'guptime' 'gusers' 'gvdir'
|
|
|
|
'gwhoami' 'gyes')
|
|
|
|
'gwc' 'gwho' 'gwhoami' 'gyes'
|
|
|
|
|
|
|
|
|
|
|
|
# Not part of coreutils, installed separately.
|
|
|
|
# The following are not part of Coreutils but installed separately.
|
|
|
|
gcmds+=('ggrep' 'gsed' 'gtar' 'gtime')
|
|
|
|
|
|
|
|
|
|
|
|
# Binutils
|
|
|
|
|
|
|
|
'gaddr2line' 'gar' 'gc++filt' 'gelfedit' 'gnm' 'gobjcopy' 'gobjdump'
|
|
|
|
|
|
|
|
'granlib' 'greadelf' 'gsize' 'gstrings' 'gstrip'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Findutils
|
|
|
|
|
|
|
|
'gfind' 'glocate' 'goldfind' 'gupdatedb' 'gxargs'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Libtool
|
|
|
|
|
|
|
|
'glibtool' 'glibtoolize'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Miscellaneous
|
|
|
|
|
|
|
|
'ggetopt' 'ggrep' 'gindent' 'gsed' 'gtar' 'gtime' 'gunits' 'gwhich'
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
for gcmd in "$gcmds[@]"; do
|
|
|
|
for gcmd in "$gcmds[@]"; do
|
|
|
|
#
|
|
|
|
#
|
|
|
|