04-28-2010
I agree. I do not like the way that the "developers" write their shell scripts. I'm going to recommend that they change the way they are doing it and move on. I think they were simply counting on an old bug in the previous version.
Thanks for all the feedback.
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am reading a file into a parameter in my program
typeset nums_type
if the contents of nums_type = asdfghbqwerty
how do make a new paremeter eqaul to the 7th character of nums_type.
like
${type} = b (2 Replies)
Discussion started by: frank
2 Replies
2. Shell Programming and Scripting
I'm getting rather frustrated with an interactive script I'm writing.
The script is divided up, with section for setting variable at the top, then functions (which make up most of the script) then basically a line at the end which calls the first function- the program moves between the... (5 Replies)
Discussion started by: alexop
5 Replies
3. UNIX for Dummies Questions & Answers
Hi everyone:
Mi default shell is sh, i need to set the TMOUT variable so i need to change the shell to ksh, I change the /etc/profile file as follows, but when i do an echo $0 stll sh been the shell:
# more /etc/profile
#
# (c) Copyright 1990, OPEN SOFTWARE FOUNDATION, INC.
# ALL RIGHTS... (2 Replies)
Discussion started by: irasela
2 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I hope I'm posting in the correct forum, so here goes. I would like for the mouse right/left click to work in Terminal (OSX) as it does in Putty.
For instance, when I double click 'log' in file.log.gz, only the log part is highlighted (in Terminal), while in Putty the entire file name is... (0 Replies)
Discussion started by: TheChemist
0 Replies
5. UNIX for Advanced & Expert Users
Suppose, I want to execute unix commands. For that I have to go to ksh, but if I don't have execute permission to ksh itself then is there any way to change the permission of ksh? chmod command does not work for this because, I don't have permission to ksh itself... :)
Let me know, if you have... (3 Replies)
Discussion started by: ponnuvel
3 Replies
6. Shell Programming and Scripting
Hello All,
I am trying to change a user passwd (one time password):
cat /tmp/passwd
mnop1234
mnop1234
#passwd abcd < /tmp/passwd
(for some reason, it is not able to input the password from /tmp/passwd and comes back with "New Password: ")
Is there a work around except using "expect".
... (1 Reply)
Discussion started by: solaix14
1 Replies
7. Shell Programming and Scripting
I have a script that reaches out to several systems and pulls back infomation in serveral files. I would like to take the infomation returned and reformat it so I can export it to excel.
Below is current output:
File1:item1:abc=1
File1:item2:efg
File2:item1:ab=1
File2:item2:efg... (3 Replies)
Discussion started by: oldman2
3 Replies
8. Shell Programming and Scripting
I have a need to run any number of identical scripts simultaneously, so I've created a driver script which reads a template script, edits these appropriately and then submits them via nohup. The spawned scripts all check to see at some point how many of their number are running and once the count... (7 Replies)
Discussion started by: safedba
7 Replies