05-29-2006
Wrapping ksh script
Hi folks,
We want to protect our ksh scripts from our customers.We don't want to let them the option to viewor modify the scripts.
Is there a way ro wrap a ksh script?
Thanks in advance,
Nir
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I hope its ok to start a new thread, I was going to use my existing one but thought a new one would better clarify things and provide better search for future reference.
Well I have my bash program working now, all nice, user input validated, output formatted, everything is looking sexy.
Now... (2 Replies)
Discussion started by: andyj
2 Replies
2. Shell Programming and Scripting
Ih all,
i have multiples ksh scripts for crontab's unix jobs
they all have same variables declarations and some similar functions
i would have a only single script file to declare my variables, like:
var1= "aaa"
var2= "bbb"
var3= "ccc"
...
function ab { ...}
function bc { ... }... (2 Replies)
Discussion started by: wolfhurt
2 Replies
3. Shell Programming and Scripting
Hello, I've been trying to use find command to find and print out some files. When I execute the command on the command line I get the output as expected howerver when I run it in the script it doesn't wrap.
For example, this is nicely wraped
find /etc -perm -o=w -exec ll '{}' \;... (4 Replies)
Discussion started by: mirusko
4 Replies
4. Shell Programming and Scripting
Hallo,
I want to have this Output:
Name Street Phone Mail Favorite_thing_o
f_what_ever_you_
want
Jak street1 0123 jak@test blue egs
.com
O'Neill street2 4567 ... (1 Reply)
Discussion started by: wiseguy
1 Replies
5. UNIX for Dummies Questions & Answers
I am very frustrated with this. I've added the following into my .profile and .bashrc:
#this one makes sure that long commands strings line wrap to the next line
&& return
#instead of wrapping onto the start of the same line.
shopt -s checkwinsize
However, it just never works for me.... (7 Replies)
Discussion started by: mrwatkin
7 Replies
6. Shell Programming and Scripting
Hi
I am new to this Scripting process and would like to know How can i write a ksh script that will call other ksh scripts and write the output to a file and/or email.
For example
-------
Script ABC
-------
a.ksh
b.ksh
c.ksh
I need to call all three scripts execute them and... (2 Replies)
Discussion started by: pacifican
2 Replies
7. Shell Programming and Scripting
Hi,
I want to wrap the lines if a line starts with number. I tried the following sed command, but I do not get the required output. It is replacing the first number.
Can some one please help me on this?
Command I used
sed -e :a -e '$!N;s/\n//;ta' -e 'P;D' testfile
I/P file:... (2 Replies)
Discussion started by: christineidanny
2 Replies
8. Shell Programming and Scripting
I have a file where the text might exceed 80 characters. I want to have the maximum text lengths to be 80, and cut text from a space.
I written an awk script below but does not seem to work very well
{
gsub("\t"," ")
$0 = line $0
while (length <= WIDTH) {
line = $0
... (3 Replies)
Discussion started by: kristinu
3 Replies
9. Shell Programming and Scripting
Hi all,
Am trying to write a menu driven script using SELECT and if I have more than 4 options, it wraps to the next column. That is if I have 6 choices, items 5 and 6 are in the second column.
Is there any settings that control this behavior or is it due to some stty settings?
stty -a... (3 Replies)
Discussion started by: newbie_01
3 Replies
10. Shell Programming and Scripting
Greetings,
I am by no means a Unix expert and hope that someone here can help me out.
I am sending an email from within a Progress character program. This works fine.
My issue is that I would like to send more than 80 characters and the email is wrapping at 80 chars.
Is this an email... (9 Replies)
Discussion started by: Nosredna
9 Replies