Search Results

Search: Posts Made By: bestbuyernc
16,226
Posted By bestbuyernc
Try this... vValue=`sqlplus -s <<-EOF ...
Try this...

vValue=`sqlplus -s <<-EOF
$DB_id/$DB_pswd@$DB_server
start archive_delete.sql
exit
EOF`
4,771
Posted By bestbuyernc
Tricky Sed
Hello. I am trying to convert occurrences of 'NULL' from a datafile. The 'NULL' occurences appears at this:

|NULL| NULL|NULL| NULL|NULL| NULL|NULL| NULL|

There should be 52 fields per line.
I...
7,086
Posted By bestbuyernc
Thank you.
Thank you.
7,086
Posted By bestbuyernc
Thank you. Let me provide more detail. I would...
Thank you. Let me provide more detail. I would like to get the word "Pattern" plus the next 5 characters following:

In:
{1:5TIROEKUDRSH0027000755}{2:O4351423051114PATTERN40130656410423N}
Out: ...
7,086
Posted By bestbuyernc
Extract String
Hello. I would like to extract the word "PATTERN" from a file that occurs on mulitple lines:
{1:5TIROEKUDRSH0027000755}{2:O4351423051114PATTERN40130656410423N}

Thank you.
2,405
Posted By bestbuyernc
Beautiful!!! Thank you.
Beautiful!!! Thank you.
2,405
Posted By bestbuyernc
Sed Add New Lines
Hello,

I have a file that has data like this:


one two three four
five
six seven
eight nine ten

Is there a quick way using sed of nawk to put each word on it's own line?
Thanks.
9,833
Posted By bestbuyernc
I'm really not sure whey the output is generated....
I'm really not sure whey the output is generated. I am calling a global environment function that generates the output. It may not be from the profile but it looks like what happens when I login to...
9,833
Posted By bestbuyernc
Turn off Screen Output
Is there a way to turn off standard output while processing is going on? I have tried redirecting to /dev/null but that is not working because some of the commands invoke a profile. I would like to...
3,089
Posted By bestbuyernc
Crontab entry
Hello,

I am trying to schedule a job to run every 15 minutes from 7am to 5:30pm. Could someone show me the syntax for this?

Thanks.
2,115
Posted By bestbuyernc
Cursor Positioning
Can anyone tell me how to ouput the current cursor coordinate? I have tried using tput sc and tput rc. However I want to know what the coordinate is.

Thanks.
3,659
Posted By bestbuyernc
Thanks Blowtorch. Do you have any suggestions of...
Thanks Blowtorch. Do you have any suggestions of how I could accomplish this another way?

Thanks.
3,659
Posted By bestbuyernc
RSH command
Hello,

I am trying to determine 2 things on a remote host.
1. Is file a directory or file
2. Does the file or directory exist
Not too familiar with "find" command although I believe that may be...
13,274
Posted By bestbuyernc
Get the cursor position
Hello,
Is there a way to get the current cursor position?
I know "tput sc" saves it. Is there a way to find out the value saved?

Thanks.
6,101
Posted By bestbuyernc
RSH question
Is there a way to do an rsh from within a script and spans commands on multiple lines?

Ex.
rsh $host <<EOF
echo `hostname`
EOF

I get this error:
tcgetattr: Inappropriate ioctl for device...
3,217
Posted By bestbuyernc
Thank you very much!
Thank you very much!
3,217
Posted By bestbuyernc
Rookie Mistake
Thanks Vino. That worked. I used

sed -n -e '/\.\/\.*\./p'

to find the filenames that have the hidden filename convention like:

./.webappCorpActions.java
./.webappGtp.docs

How can I...
3,217
Posted By bestbuyernc
Matching '/' in SED
Hello,

I have a list of filename is a file called list.dat.
The filenames appear in the list.dat file as this:

./set.class
./one.class


I want to delete these file names from the list...
Showing results 1 to 18 of 18

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