Search Results

Search: Posts Made By: jagannatha
26,400
Posted By jagannatha
I need to get my glaesses checked thanks for the...
I need to get my glaesses checked thanks for the heads up!

And Yes it worked fine.

Excellent stuff, I knew I would get the right answer here.

:D
26,400
Posted By jagannatha
Hi vino, Thanks heaps I tried your advise,...
Hi vino,

Thanks heaps I tried your advise, but I keep getting -bash: ../stpth: No such file or directory.

it will only run when I use stpth without any path indications.

I am using...
26,400
Posted By jagannatha
Change to a new working directory...
I need to CD to a particular directory to check log files and interface files. Instead of typing the path manually, is there a way of getting a script to change my working directory to the one I...
23,040
Posted By jagannatha
Correct I was trying to convert a ksh script to a...
Correct I was trying to convert a ksh script to a csh script.

And getting a lot of syntax errors.

The main error I was getting was the use of "Set"

when setting a variable i.e.
set...
23,040
Posted By jagannatha
csh and the set command
Hi, I am trying to write a csh script that will run another csh script, but redirect the output from the second script to an email. my code looks like this.

#!/bin/csh
## This script is designed...
2,970
Posted By jagannatha
Thanks for the patients!
Thanks for the patients!
2,970
Posted By jagannatha
It is hard to read like that, but I have all of...
It is hard to read like that, but I have all of the IF statments indented so that I can see which one is linked to which FI.

Plus the cd ${fail_path} | ls -ls is purely an out put to so that the...
2,970
Posted By jagannatha
Still no go.... Here is my script. ...
Still no go....

Here is my script.
#!/usr/bin/ksh

# This script will delete any failed files in the $SSM_IN_DIR

# Set variable to path
cd $SSM_IN_DIR
fail_path=`pwd`

# Count the files...
2,970
Posted By jagannatha
I have echoed the variable content to the screen...
I have echoed the variable content to the screen to make sure that there is actually a usable variable, which there is.

But still cannot get the script to work.

# Set variable to path
cd...
2,970
Posted By jagannatha
compariosn troubles...
Hi Guys,

I am trying to compare using if, but keep getting some strange results.

if [ "${batch_count}" > "1" ]; then
keeps creating the file 1

if [ "${batch_count2}" -gt "1" ]; then
does...
3,600
Posted By jagannatha
Sorted, thanks very much google. :)
Sorted, thanks very much google.


:)
3,600
Posted By jagannatha
Capture an empty key press...
I am trying to test input from the user, if they press enter with out an Y or N. I have the characheter thing sorted but when it comes to a blank or empty key press I am having trouble.

if [...
4,836
Posted By jagannatha
I have made a major blunder, I forgot to put the...
I have made a major blunder, I forgot to put the paht to the output file, Doop...

I have it working perfectly now.

Thanks for the bearing with my ravings and bumblings.
4,836
Posted By jagannatha
I am using a Korn shell. I get the response...
I am using a Korn shell.

I get the response form the script of,

Object does not exist.
grep: illegal option -- q
Usage: grep -hblcnsviw pattern file . . .

When I try without the q, i get...
4,836
Posted By jagannatha
The text is redirected to a file, I need to...
The text is redirected to a file, I need to verify that the script actually returned something useful, rather than "Object does not exist"

Hopefully my grep command looks at the output file...
4,836
Posted By jagannatha
Grep from a file variable
I am wanting to test the output from a script. If the out put = Object does not exist. I need to delete the output file.
I am using , filecontents=`grep -i Object does not exist. $1.txt`
then I...
301,876
Posted By jagannatha
It makes sense now, thanks. I needed to...
It makes sense now, thanks.

I needed to extract the data line(s) from file(s) sent via FTP.

I will give brief analysis of what buisness needs I have are.
We have an interface between to...
301,876
Posted By jagannatha
If this could be explained, I might see if I can...
If this could be explained, I might see if I can use it.
At this stage I do not know what this command is doing.
The explaination of each part would be great.

Thanks.
:confused:
301,876
Posted By jagannatha
By George it works !!!! find . | xargs grep...
By George it works !!!!

find . | xargs grep -s 47518

Great stuff thanks sssow
6,945
Posted By jagannatha
A possible solution is to Telnet to the server...
A possible solution is to Telnet to the server where you wish to create the script, and use VI to create it on the server it's self.
301,876
Posted By jagannatha
grep recursive directories
I am trying to locate a file or files with specific data in them. Problem is the file(s) could reside in any one of many directories.

My question is. Is there a way of recursively greping...
2,717
Posted By jagannatha
CDE - Icon positions when ICONISING
Stupid question I know, but.
I have a lot of users that have an application open, which covers the upper left corner of the screen. Because this app has a number of windows that can be open at...
2,284
Posted By jagannatha
start dt apps from CLI
I have need of starting the app manager or what ever it is called from the CLI.

I can start the text editor and file manger i.e. dtpad, dtfile & dtmail etc...

But I have forgotten the command...
10,615
Posted By jagannatha
Cool!!!! Now can you explain what the was...
Cool!!!!

Now can you explain what the was wrong with my previous line and how the new line is doing what I actually want?????

fil_len=`wc -l < coshb.txt | awk '{print $1}'`


Thanks for the...
10,615
Posted By jagannatha
Display from a variable using echo.
I have a variable that is outputting a lot of space.

here has been 45 lines returned ...

how can I remove the spaces between the "been and the 45"
CODE:

fil_len=`wc -l <...
Showing results 1 to 25 of 49

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