Search Results

Search: Posts Made By: KittyWu
59,287
Posted By KittyWu
The standard way of redirecting the output of a...
The standard way of redirecting the output of a command into a file is to use the 'tee' command:

# Starts 'my_command' command and duplicates
# the outputs from the standard and error devices
#...
Forum: Programming 01-28-2008
1,823
Posted By KittyWu
Have I heard "newbie"? Please, don't feel...
Have I heard "newbie"?
Please, don't feel uncomfortable with this: from what I've read (posts and replies), almost everybody here can be considered as a newbie...

I guess that most of your...
55,270
Posted By KittyWu
Hi, the 'printf' primitive allows you to...
Hi,

the 'printf' primitive allows you to assign or display a formatted string.

It can be used this way:
#-----------------------------------------------------
typeset...
2,424
Posted By KittyWu
Hi, I think that the 'mktemp' command (which...
Hi,

I think that the 'mktemp' command (which create a temporary
file with a *unic* name) can be usefull here:

# Create ('-c' option) a 0-length file in the tmp area
typeset -i RC
typeset...
1,629
Posted By KittyWu
Hi, this script (Korn shell) targets these 2...
Hi,

this script (Korn shell) targets these 2 problems:

# [BEGIN script] -----------------------------------------

# 1. Extract the data from the DB

typeset DB_VALUEs=$(sqlplus -s...
11,143
Posted By KittyWu
Hi, Some remarks first: 1. the 'grep -x...
Hi,

Some remarks first:
1. the 'grep -x -v -f' command *perfectly* works
(it simply depends on the way you're using it...).
2. your files (EAIDVBR1.txt EAIDQBR1.txt) are DOS-formatted...
2,971
Posted By KittyWu
Hi, you can do it without any function call...
Hi,

you can do it without any function call by using the Pattern-matching operators (which are faster).

for instance:
me@host> BackupLocation='abc/dfg'
me@host> SubDir=${BackupLocation##*/}...
7,257
Posted By KittyWu
Hi, I'm not sure this answer suits to your...
Hi,

I'm not sure this answer suits to your request (if you meant
"how to display/store or use the resulting value", then this
should help...).

First, the 2 first lines sound correct for both...
Showing results 1 to 8 of 8

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