9 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
@sorted = sort { $a <=> $b } @unsorted;
I am having hard time understanding how this works? I know the output but interested to know the working.
Thanks in advance. (2 Replies)
Discussion started by: Tanu
2 Replies
2. UNIX for Advanced & Expert Users
Hello all -
I am to this forum and fairly new in learning unix and finding some difficulty in preparing a small shell script. I am trying to make script to sort all the files given by user as input (either the exact full name of the file or say the files matching the criteria like all files... (3 Replies)
Discussion started by: pankaj80
3 Replies
3. Programming
In regards to the for loop with '&& flag' I think I see the intended logic. If there was a transaction keep looping until the end of the array otherwise exit. Well it compiles but it does not work as I see the logic. I really like this routine much better than any others I have seen and would like... (4 Replies)
Discussion started by: sepoto
4 Replies
4. Shell Programming and Scripting
I am trying to figure out what this script does. Can someone help?
delt_file=`diff /transfer/adx/tey_header.txt /transfer/adx/tey_header_yesterdy.txt`
if ] ; then
touch /transfer/adx/lrstb028_ctl2.ctl
else
if test -f "/transfer/adx/lrstb028_ctl2_2.ctl" ; then
touch... (1 Reply)
Discussion started by: chamajid
1 Replies
5. Shell Programming and Scripting
Hi expert
Can help me explain this script?
myFile="./File"
myCell=""
while
do
read myCell || break
echo ""
echo "***************************"
echo "$myCell"
echo "***************************"
done < $myFile
this is ksh.
Can help me... (1 Reply)
Discussion started by: vincyoxy
1 Replies
6. Shell Programming and Scripting
Dear Member,
i need help in this script
filename_DD_MM_YYYY_HHMMSS.log
this is the log file format
i need to split this name to three variables
1 variables contain filename
2 variables contain _DD_MM_YYY_
3 variables contains HHMMSS
... (7 Replies)
Discussion started by: dellsh
7 Replies
7. What is on Your Mind?
You will like this :)
fi4fzvQ6I-o (2 Replies)
Discussion started by: Neo
2 Replies
8. Shell Programming and Scripting
currentSid=${TWO_TASK:-$ORACLE_SID}
echo $currentSid
this script returns value of ORACLE_SID but what i am not getting is
what is ":-" doing ?? (1 Reply)
Discussion started by: zedex
1 Replies
9. Shell Programming and Scripting
dear all,
can anyone help me to explain all the commands in the .profile bourne shell below ? really appreciate ur help. PLEASE.
1
2 # @(#) $Revision: 72.2 $
3
4 # Default user .profile file (/usr/bin/sh initialization).
5
6 # Set up the terminal:
7 if
8 then
9 eval ` tset -s -Q -m... (1 Reply)
Discussion started by: ykchua
1 Replies