Search Results

Search: Posts Made By: douknownam
1,137
Posted By douknownam
Awesome.. much appreciated!
Awesome.. much appreciated!
1,137
Posted By douknownam
$(date) or `date` difference?
I'm not new to scripting by any means, but also wouldn't consider myself far advanced either. I've noticed a lot of scripts used at my new organization uses something like this variable=$(date)...
3,427
Posted By douknownam
Calling on function from file??
This may sounds dumb, but can I call on a function from a file? For example, I have a function file full of functions like below (no shell designation):


func { echo "blah blah blah 1" }
...
2,790
Posted By douknownam
my understanding is that it cats % and outputs to...
my understanding is that it cats % and outputs to abc.txt... assuming % is referencing some file.
9,668
Posted By douknownam
Passing FORM(HTML) variable to ksh
I am currently able to use the $QUERY_STRING variable and simply cut out what I need to be assigned as variables within the shell script. However, I've been able to use the "name" value assigned...
14,835
Posted By douknownam
*nevermind*
*nevermind*
13,447
Posted By douknownam
Perl: Variable input via HTML
I am completely new to perl and am just going over the tutorials right now. What I am trying to attempt is to take the input from the HTML (in a form) and use those variables in a perl script. I've...
Forum: Solaris 02-04-2005
3,203
Posted By douknownam
nevermind, I got my answer.. can use HTML and...
nevermind, I got my answer.. can use HTML and call it up from the /var/apache/cgi-bin directory on Solaris.
Forum: Solaris 02-04-2005
3,203
Posted By douknownam
Windows GUI to feed shell scripts
Currently contemplating an idea to further automate some tools I've written. Excuse my knowledge if this is obvious (I was not able to find it in the forums), but how would I go about using a...
Forum: Solaris 02-04-2005
5,043
Posted By douknownam
thanks, I will look into it.. I may have to...
thanks, I will look into it.. I may have to rewrite the program that deblocks the MVS data and converts it to ascii. thanks for all of your inputs.
Forum: Solaris 01-31-2005
5,043
Posted By douknownam
ftp flat file from MVS(OS390) to Solaris
I've been working on this for a while and decided to see if anyone else here had this same issue. I'm trying to ftp a file from a mainframe (OS390) to Solaris. Obviously this is easily done,...
5,239
Posted By douknownam
xterm help?
I want to add a title to this xterm window but cannot figure out how. Can anybody assist with this?

xterm +sb -geom 80x25 -ls -tn xterms -tm "intr ^q" -name unikix -e $UNIKIX/bin/unikixl
117,281
Posted By douknownam
Thank you, that worked like a charm. However, I...
Thank you, that worked like a charm. However, I just used a\ instead of i\ to insert the line after the search string.

sed '/patternstring/ a\
new line string' file1
117,281
Posted By douknownam
sed.. Add new line after finding text
I know that this my be really simple, but I'm having a hard time accomplishing it. I am trying to add a new line of text after finding a particular string of text in a file. Here's what I'm...
4,221
Posted By douknownam
alex blanco according to your post above, it...
alex blanco

according to your post above, it should work. How come my line of code below doesn't work? I'm trying to use variables as inputs to the beginning and ending line numbers to print a...
13,769
Posted By douknownam
so you're doing the : cp -pr...
so you're doing the :
cp -pr users/abc/def/car.exe own

All you'd need to do in this case would be to create the one "own" folder. But I guess that is the difference between the "super unix" and...
5,251
Posted By douknownam
as always, thanks Perderabo!
as always, thanks Perderabo!
5,251
Posted By douknownam
variable not found with loop?
I cannot seem to pass the value of the variable assigned in the "else" statment below to an "if" statement outside of the loop. When I debug using "set -x", I find that the value of "$A" is empty. ...
13,769
Posted By douknownam
try: "cp -pr" That should copy retaining the...
try: "cp -pr"

That should copy retaining the permissions, etc. as well as recursively copy the directory structure.
2,192
Posted By douknownam
Try this.. may be elementary, but it should work...
Try this.. may be elementary, but it should work unless I overlooked something.


file="*.html"

date | cut -d" " -f2-3 | read var1
ls -l file | awk '{print $6,$7}' | read var2

if [[ -f...
8,595
Posted By douknownam
thank you very much, I was not aware that we...
thank you very much, I was not aware that we could assign 2 variables in that manner. Here is my code that works, for those who may run into this problem:


cat file | grep "M " > file1

awk...
48,538
Posted By douknownam
i guess i don't know what it is. :( my thought...
i guess i don't know what it is. :( my thought of an array was a way to use multiple values for one variable name. well, I wanted to use your code of reading 2 files (lists) and using the variables...
48,538
Posted By douknownam
Perderabo, Can you please explain your code...
Perderabo,

Can you please explain your code line by line? I think I fishing for the same type of solution, but a lot of it is confusing to me.
8,595
Posted By douknownam
Assign variables with cut
I need to read a file (a list) and assign the value to a variable (for each line), I'm looping until the end of the file. My problem is, I want to assign 2 separate variables from the list. The...
17,465
Posted By douknownam
Rebuild command
I want to convert a Microfocus Sequential file to a Line Sequential Variable file. The reason I want to do this is so that I can upload the file from a UNIX box to a PC as a text file. I know that...
Showing results 1 to 25 of 36

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