<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Working with menus ... in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/working-with-menus/m-p/3977062#M95467</link>
    <description>Hi Manuales:&lt;BR /&gt;&lt;BR /&gt;Simply add another 'select' loop.&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;listb='&lt;BR /&gt;FILESET1&lt;BR /&gt;FILESET2&lt;BR /&gt;FILESET3&lt;BR /&gt;QUIT'&lt;BR /&gt;...&lt;BR /&gt;"DELETE_FILES" )&lt;BR /&gt;echo "Deleting..."&lt;BR /&gt;    PS3="Reply  : "&lt;BR /&gt;    select reply in $listb&lt;BR /&gt;    do&lt;BR /&gt;    case $reply in&lt;BR /&gt;    "FILESET1" ) echo "deleting #1" ;;&lt;BR /&gt;    "FILESET2" ) echo "deleting #2" ;;&lt;BR /&gt;    "FILESET3" ) echo "deleting #3" ;;&lt;BR /&gt;    "QUIT"     ) PS3="Option : "; break ;;&lt;BR /&gt;    esac&lt;BR /&gt;    done&lt;BR /&gt;;;&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;NOTE that you need to reset the 'PS3' prompt as you leave the inner 'select' loop.  Otherwise your user will continue to be prompted with "Reply" as established for the current loop.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Sun, 08 Apr 2007 10:05:02 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2007-04-08T10:05:02Z</dc:date>
    <item>
      <title>Working with menus ...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/working-with-menus/m-p/3977061#M95466</link>
      <description>Hi ...&lt;BR /&gt;how can i do a "sub-menu" into a menu?&lt;BR /&gt;I mean .. &lt;BR /&gt;for example, i have the following:&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/ksh&lt;BR /&gt;clear&lt;BR /&gt;. $HOME/ENVIRONMENT/environment.sh&lt;BR /&gt;echo "###############################################################"&lt;BR /&gt;echo " "; banner "DRT MENU"&lt;BR /&gt;echo ""&lt;BR /&gt;echo "     Server:  $(hostname) ----- $(date)                "&lt;BR /&gt;echo "###############################################################"&lt;BR /&gt;echo " "&lt;BR /&gt;lista='&lt;BR /&gt;DELETE_FILES&lt;BR /&gt;GET_FILES_SYSTEM_ALL_LEGACY_SERVERS&lt;BR /&gt;REMOTE_FILE_DISTRIBUTION_TO_ALL_LEGACY_SERVERS&lt;BR /&gt;STARTING_CRON_IN_ALL_LEGAY_SERVERS.sh&lt;BR /&gt;EXIT'&lt;BR /&gt;PS3="Option : "&lt;BR /&gt;select opcion in $lista&lt;BR /&gt;do&lt;BR /&gt;case $opcion in&lt;BR /&gt;"DELETE_FILES" ) ????????????? ;;&lt;BR /&gt;"GET_FILES_SYSTEM_ALL_LEGACY_SERVERS" ) ${menu}/hola.sh ;;&lt;BR /&gt;"REMOTE_FILE_DISTRIBUTION_TO_ALL_LEGACY_SERVERS" ) ${menu}/hola.sh ;;&lt;BR /&gt;"STARTING_CRON_IN_ALL_LEGAY_SERVERS.sh" ) ${menu}/hola.sh ;;&lt;BR /&gt;"EXIT" ) exit ;;&lt;BR /&gt;esac&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;into DELETE_FILES (where it says ?????????? )Option i need to put other sumbenu for choosing other options ... how can i do that???&lt;BR /&gt;&lt;BR /&gt;PLEASE LET ME KNOW</description>
      <pubDate>Sun, 08 Apr 2007 01:11:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/working-with-menus/m-p/3977061#M95466</guid>
      <dc:creator>Manuales</dc:creator>
      <dc:date>2007-04-08T01:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: Working with menus ...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/working-with-menus/m-p/3977062#M95467</link>
      <description>Hi Manuales:&lt;BR /&gt;&lt;BR /&gt;Simply add another 'select' loop.&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;listb='&lt;BR /&gt;FILESET1&lt;BR /&gt;FILESET2&lt;BR /&gt;FILESET3&lt;BR /&gt;QUIT'&lt;BR /&gt;...&lt;BR /&gt;"DELETE_FILES" )&lt;BR /&gt;echo "Deleting..."&lt;BR /&gt;    PS3="Reply  : "&lt;BR /&gt;    select reply in $listb&lt;BR /&gt;    do&lt;BR /&gt;    case $reply in&lt;BR /&gt;    "FILESET1" ) echo "deleting #1" ;;&lt;BR /&gt;    "FILESET2" ) echo "deleting #2" ;;&lt;BR /&gt;    "FILESET3" ) echo "deleting #3" ;;&lt;BR /&gt;    "QUIT"     ) PS3="Option : "; break ;;&lt;BR /&gt;    esac&lt;BR /&gt;    done&lt;BR /&gt;;;&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;NOTE that you need to reset the 'PS3' prompt as you leave the inner 'select' loop.  Otherwise your user will continue to be prompted with "Reply" as established for the current loop.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Sun, 08 Apr 2007 10:05:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/working-with-menus/m-p/3977062#M95467</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-04-08T10:05:02Z</dc:date>
    </item>
  </channel>
</rss>

