10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a shell script which prints a variable to a text file (sorry if this is the wrong terminology, I'm new to this):
awk `{sumdiffsqt+=$1;stdevt=sqrt(sumdiffsqt/('${n}'-1));errt=stdevt/sqrt('${n}')} END {print '$period',stdevt,errt}' diffsqt.txt >> ${xstation1}_${xstation2}_tt.err
I need... (4 Replies)
Discussion started by: claire.a
4 Replies
2. Shell Programming and Scripting
Hi,
I meet an problem that it cannot change Terminal environment variable in a perl or bash script.
This change can only exist and become effective in script lifetime.
But I want to make this change take effect in current opened Terminal.
In our view, the thought seems to be impossible,
As... (9 Replies)
Discussion started by: weichanghe2000
9 Replies
3. Shell Programming and Scripting
Hi All,
could any body let me know.
how to get timestamp with millisecond precision in unix bash shell.
example -->2005-12-06- 4-22-35-195
please help me.
Thanks,
Krupa:wall: (3 Replies)
Discussion started by: krupasindhu18
3 Replies
4. Shell Programming and Scripting
Hi to All,
Please find below details.
file_config.config
export file1_status="SUCCESS"
export file2_status="SUCCESS"
file_one.sh
I am calling another two shell script from these script. I need to pass individual two script status (If it's "FAILED") to file_main.sh.
file_main.sh
I... (2 Replies)
Discussion started by: div_Neev
2 Replies
5. Shell Programming and Scripting
It looks like,
user@hostname:/auto/home3/user$
Desired,
user@hostname$
I added following line in .bashrc, but still its same.
export PS1=" $ "
Please help me :confused: (13 Replies)
Discussion started by: admax
13 Replies
6. UNIX for Dummies Questions & Answers
Hey guys.
The problem is :
i need to change encoding (to be more precise UTF-8) or change the language . You see , when i log in , manuals are shown in 'Some symbols' (being written in 'Not English') and its very confusing to work. Please Help :) (3 Replies)
Discussion started by: IdleProc
3 Replies
7. Shell Programming and Scripting
Hi,
I use AIX (ksh) and Linux (bash) servers. I'm trying to do scripts to will run in both ksh and bash, and most of the time it works. But this time I don't get it in bash (I'm more familar in ksh).
The goal of my script if to read a "config file" (like "ini" file), and make various report.... (2 Replies)
Discussion started by: estienne
2 Replies
8. Shell Programming and Scripting
Hi All,
I need to pass a variable to perl script from bash script, where in perl i am using if condition. Here is the cmd what i am using in perl
FROM_DATE="06/05/2008"
TO_DATE="07/05/2008"
"perl -ne ' print if ( $_ >="$FROM_DATE" && $_ <= "$TO_DATE" ) ' filename"
filename has... (10 Replies)
Discussion started by: arsidh
10 Replies
9. Programming
Hi,
As all of us know that size of int is machine as well as compiler dependent
we can get the range and size of an int , float and char etc in
/usr/include/limits.h
header file of a compiler
but could any one tell me how to get info of precision of float and ... (6 Replies)
Discussion started by: useless79
6 Replies
10. UNIX for Dummies Questions & Answers
I need to find out the precision on a solaris machine using the unix terminal.
How do I find this out?
Specifics needed:
How are single precision numbers represented (8 or 16 bit)
How are double precision numbers represented (16 or 32 bit)
How are they stored. ( some computers store numbers... (1 Reply)
Discussion started by: Townsfolk
1 Replies