Search Results

Search: Posts Made By: tmarikle
11,609
Posted By tmarikle
Here's my favorite way of doing this, similar to...
Here's my favorite way of doing this, similar to justsam but without piping $str through tr (UUOtr :D )


str="name1, name2, name3, "

typeset IFS=' ,'
for i in $str
do
echo $i$i ...
8,244
Posted By tmarikle
Looking at the script again, the answer is clear....
Looking at the script again, the answer is clear. You are attempting to use a "here" document with the "<<EOF" statement. Your entire script is being pushed into sqlplus and when it reaches the...
104,669
Posted By tmarikle
By the way, your specific issue is that you do...
By the way, your specific issue is that you do not have quotes around your variable:


echo "$list" # now see what happens...
11,284
Posted By tmarikle
Maybe something like this: nawk -F'~' '$1...
Maybe something like this:


nawk -F'~' '$1 ~ /AK[59]/ {
status=($2=="A") ? "successful" : "unsuccessful"
system ("mailx -s" $1 ":\\ " status "\ recipient@email_domain.com </dev/null")...
20,352
Posted By tmarikle
Here's a quick and sloppy way of doing it in KSH....
Here's a quick and sloppy way of doing it in KSH.
{
typeset IFS='
'
while read USER_NAME
do
USER_DIR=$(grep $USER_NAME /etc/passwd | awk -F: '{print $6}') ...
Showing results 1 to 5 of 5

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