10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Unix Gurus,
Please explain the processing done by the code mentioned below:
for (i=1;i<=59;i++)
{
sub(/ *$/,"", $i)
}
newrec_key = $2
new_line = $0
if (empty_oldfile==1)
{
#newly added record
++num_add
print "Added key: ", newrec_key > LogFile
#print out... (4 Replies)
Discussion started by: ustechie
4 Replies
2. Shell Programming and Scripting
Hello All,
I have 2 questions,
1) I am on Unix Sun Solaris korn shell, in my shell scripts i am using
#!/bin/sh Instead of #!/bin/ksh, though it is still working is this correct way of doing and also I am saving the shell script file as abc.sh instead of abc.ksh, please let me know the best... (1 Reply)
Discussion started by: Ariean
1 Replies
3. UNIX for Dummies Questions & Answers
hi everybody.
please help me in understanding this code.
echo "************* starting job on `date +\"%d/%m/%Y at %T\"` **************"
#
scriptdir=`dirname $0`
. ${scriptdir}/env_params.sh
#
SHLIB_PATH=${ORACLE_HOME}/lib:
export SHLIB_PATH
export... (1 Reply)
Discussion started by: gokulj
1 Replies
4. Shell Programming and Scripting
Hi
I am looking for some one who is Brainbench Certified Shell Programmer, who can share his/her experience.
Actually I am planning to give exam, but before that wuld lik some1 to throw light on this..also if dumps are availble pls mail me @
niceboykunal123@gmail.com
Thanks & Regards,... (1 Reply)
Discussion started by: niceboykunal123
1 Replies
5. Shell Programming and Scripting
Hi all,
i have written a code to ftp a file from one server to other.The ftp is happeneing successfully,but i am not able to capture the return code,to check if ftp has failed.
plz help me to find out the return code....this is urgent
below is the code i have written... (3 Replies)
Discussion started by: anju
3 Replies
6. Programming
hello,
here I am copying my code...
I am using two threads for reading and writing at com ports....one for reading and one for writing...in read thread I am using select() api....and polling again and again if there is some data to be read....but select is not returning any positive value so... (0 Replies)
Discussion started by: arunchaudhary19
0 Replies
7. Linux
hello,
here I am copying my code...
I am using two threads for reading and writing at com ports....one for reading and one for writing...in read thread I am using select() api....and polling again and again if there is some data to be read....but select is not returning any positive value so... (0 Replies)
Discussion started by: arunchaudhary19
0 Replies
8. UNIX for Dummies Questions & Answers
CAn any1 help me pls...urgent need to pass up this monday my assigment.....
im new bird at unix so pls help me....
can any1 help me answer this question?
1a.What are the different type of shell available in UNIX.
b.How to know which shell you are currently used?
c.How to change the... (1 Reply)
Discussion started by: yeah016
1 Replies
9. Shell Programming and Scripting
use "getopts" to get params from command. Need replace black with a specified string like "%20
DEFAULT_DELIM=%20
...
while getopts dek:f:t:vh OPTION
do
case $OPTION in
t)
DELIM=`tvar=/'"$OPTARG"'/ svar="$DEFAULT_DELIM" awk 'BEGIN{T=ENVIRON;S=ENVIRON; while(index(T,S)!=0){S=S"0"};print... (0 Replies)
Discussion started by: anypager
0 Replies
10. UNIX for Dummies Questions & Answers
i.e configuration of C compiler :confused: (4 Replies)
Discussion started by: atiato
4 Replies