Search Results

Search: Posts Made By: Alendrin
3,399
Posted By Alendrin
got it, I use Break;; and it returns to main...
got it, I use Break;; and it returns to main menu, thanks for the help anyways!
3,399
Posted By Alendrin
I'm calling the sub menu as a function so when i...
I'm calling the sub menu as a function so when i use exec it doesn't work.
3,399
Posted By Alendrin
I can open the sub menu, the problem is exiting...
I can open the sub menu, the problem is exiting back to the main menu, when i exit the sub menu it just closes the script.
3,399
Posted By Alendrin
SubMenu Exit problem!
I basically have a menu driven script in which one of the options from the main menu would open a sub menu, this works fine but i can't seem to be able to exit the sub menu back to the main...
6,986
Posted By Alendrin
Works a treat ...Thank you!
Works a treat ...Thank you!
6,986
Posted By Alendrin
Too many arguments?
I can't find anything wrong with this line of code, it works when there is one file in the directory but more than one i get a "too many arguements2 error

if [ -z $(ls $dname) ]; then


am i...
2,565
Posted By Alendrin
Scripting problem - when the file is not found i want it to return to the menu
when the file is not found i want it to return to the menu, however it carries out the next line when i hit a key

I know its probably something simple can anyone help?

here is my pause...
1,681
Posted By Alendrin
started new thread ...
started new thread
https://www.unix.com/shell-programming-scripting/103371-scripting-problem.html



New problem:

when the file is not found i want it to return to the menu, however it carries...
1,681
Posted By Alendrin
Thanks for help much appreciated, i will crack on...
Thanks for help much appreciated, i will crack on now....probably be crying back here at sometime tomorrow though!
1,681
Posted By Alendrin
I got as far as this but when i tried to prompt...
I got as far as this but when i tried to prompt for a directory it shuts back down to the menu, as i say i'm very new to this...almost ashamed to post such pathetic code.

echo "Enter file name: ";...
1,681
Posted By Alendrin
Need help before i crack up!
Hi guys, i'm new to the forum, i need a script badly everything i try is awful as i'm new to this and usually i jump in at the deepend....however this unix scripting has got the better of me...hope...
Showing results 1 to 11 of 11

 
All times are GMT -4. The time now is 01:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy