dshome=`cat /.dshome`
. ${dshome}/dsenv
export APT_CONFIG_FILE=${dshome}/../Configurations/default.apt
dsstr()
{
orchadmin dump -name -delim "~" -n 1 $1 2>/dev/null | head -1 | tr '~' '\n' | cat -n
}
dshead()
{
orchadmin dump -name -delim "~" -n 1 $1 2>/dev/null | head -1 | tr '~' '\n' | sed 's/:.*$//g' | tr '\n' '|' | sed 's/.$//';
echo;
orchadmin dump -delim "|" -n 5 $1 2>/dev/null
}
dsdump()
{
orchadmin dump -delim "|" $1 2>/dev/null
}
set -o vi
TMOUT=9999
. ${dshome}/dsenv
export APT_CONFIG_FILE=${dshome}/../Configurations/default.apt
dsstr()
{
orchadmin dump -name -delim "~" -n 1 $1 2>/dev/null | head -1 | tr '~' '\n' | cat -n
}
dshead()
{
orchadmin dump -name -delim "~" -n 1 $1 2>/dev/null | head -1 | tr '~' '\n' | sed 's/:.*$//g' | tr '\n' '|' | sed 's/.$//';
echo;
orchadmin dump -delim "|" -n 5 $1 2>/dev/null
}
dsdump()
{
orchadmin dump -delim "|" $1 2>/dev/null
}
set -o vi
TMOUT=9999