Search Results

Search: Posts Made By: sszd
2,443
Posted By sszd
Thank you. You're exactly right! I've since...
Thank you. You're exactly right! I've since done some additional research myself under the bash man page and rediscovered what I remember reading from about 2 years ago. I had simply forget about...
2,443
Posted By sszd
Alias not recognized within script
What would cause a script to work under one user account and not another? Here's an example of what I'm referring to.

Here's a simple script. Let's put it in a file called “thescript”.

#!...
3,068
Posted By sszd
Does anyone have any answers or ideas regarding...
Does anyone have any answers or ideas regarding my questions in the original post?
3,068
Posted By sszd
Which script, the Rational script or the .tcshrc...
Which script, the Rational script or the .tcshrc login script? I'm afraid I cannot get the scripts off of the system they're on as it's a classified system. However, if it's the Rational script...
3,068
Posted By sszd
Remote commands fail for tcsh user
I'm more familiar with bash/ksh that csh/tcsh. With that said, I recently ran across a problem with tcsh.

Our system admin recently installed purify on our solaris 8 system. In order to use...
5,548
Posted By sszd
Ok, I guess I was wrong. That was exactly what I...
Ok, I guess I was wrong. That was exactly what I was looking for. The last two posts have given enough detail to explain to me what I was unable to find in any of the man pages.

So now I would...
5,548
Posted By sszd
I could be wrong, but I believe that is simply a...
I could be wrong, but I believe that is simply a command line option that you send to the shell when you're starting it. It's not a "switch" (so to speak) that you turn on or off for shell options...
5,548
Posted By sszd
No. What I'm talking about is the following. If...
No. What I'm talking about is the following. If you echo $- from your interactive login shell you'll get something like this...

$ echo $-
himBCH

Each of these letters represent some option...
5,548
Posted By sszd
Thank you for the reply. Sorry I haven't replied...
Thank you for the reply. Sorry I haven't replied to this sooner but I've been out.

The link provided simply says to look at the man page for setting shell options for your particular shell. ...
5,548
Posted By sszd
Definition of $-
Could someone please direct me to a link that gives the definitions for each of the letters from the results of the $- environment variable? It would be nice to know what shell options each of the...
4,067
Posted By sszd
Thanks for the reply, but I found the problem. ...
Thanks for the reply, but I found the problem.

My environment variable BASH_ENV was set to my bash resource file. This means that non-interactive scripts are going to call my bash resource file...
4,067
Posted By sszd
Bash script argument problem
I'm having problems with bash scripts. If a bash script is called with no arguments, I always get "PHIST=!" as the first argument (i.e. this is what $1 equals). Why? Where does this come from, and...
20,011
Posted By sszd
Actually, I just found this out. In csh and...
Actually, I just found this out.

In csh and ksh the output is as I've shown above. However, in bash it's this...
printf "%d\n" "'AB"
65
20,011
Posted By sszd
Virtually identical to yours... printf "%d\n"...
Virtually identical to yours...
printf "%d\n" "'AB"
printf: 'AB not completely converted
65
20,011
Posted By sszd
Both of these seem to answer my question. None...
Both of these seem to answer my question. None of the man pages (on Solaris 10) explained this with this kind of detail. Thank you.
20,011
Posted By sszd
This is not a "pair" of single quotes. It's...
This is not a "pair" of single quotes. It's simply a single quote (by itself) preceding the character (i.e. 'A) . That's what I've never seen before. In fact, if you use a pair of single quotes,...
20,011
Posted By sszd
I just stumbled upon the following... $...
I just stumbled upon the following...

$ printf "%d" "'A"

This will give me 65, so likewise I can certainly do this...

$ var=A
$ printf "%d" "'${var}"

What I don't understand is the...
20,011
Posted By sszd
Ascii value of character?
Is there a way to determine the ascii value of a character? For example, let's say a shell variable has the value 'A'. I would like it's ascii value (e.g. 65 in this case). I would like to do this...
1,381
Posted By sszd
I thought I had tried that. Retrying seems to...
I thought I had tried that. Retrying seems to work. I believe I was missing the last '/' on the search path. So simple, thank you.
1,381
Posted By sszd
Help with 'find' command
Is there a way to use the ‘find' command to search only the subdirectories within a starting directory and not include the starting directory itself? Let me explain...
Let's say you want to...
1,329
Posted By sszd
That works fine on the command line for ksh,...
That works fine on the command line for ksh, bash, and sh, and for functions in ksh and bash. However, it doesn't work for csh, or scripts in any shell.
1,329
Posted By sszd
What shell???
Is there a way to determine what shell you're in?
2,208
Posted By sszd
Process suspension
What would cause a process to get suspended upon immediately starting up?

Background info: This just recently started happening on a home grown utility that was written here at work a very long...
2,743
Posted By sszd
getprotobyname replacement?
I've been tasked with converting our software from strictly an IPv4 environment to handling both IPv4 and IPv6. I'm very nearly done and everything seems to be progressing just fine. There's just...
2,707
Posted By sszd
That seems to be of some help. Thank you.
That seems to be of some help. Thank you.
Showing results 1 to 25 of 28

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