Search Results

Search: Posts Made By: rjsha1
2,812
Posted By rjsha1
many thanks - it's been a while since I have done...
many thanks - it's been a while since I have done unix stuff - it's all coming back to me 0:(
2,812
Posted By rjsha1
Improving find to read table name from file
Hi there,
I currently use the following find command to recursively search all the subdirectories in our file system for a table ( in this case BB_TENURE_DAYS)

find -type f -exec grep -l...
10,352
Posted By rjsha1
Hi ghostdog, the problem isn't the mailx bit is...
Hi ghostdog,
the problem isn't the mailx bit is it the uuencode bit. Thanks for you gelp matey :)
10,352
Posted By rjsha1
Hi mate, tried that still the same error. It...
Hi mate,
tried that still the same error. It isn't something like I need to dos2unix the file or put in a ^M character.
10,352
Posted By rjsha1
problem with uuencode
Hi everyone,
I'm emailing a spool file to a person using mailx. I'm using uuencode to attach the file to the email. but am getting this error
uuencode: ISO8859-15 to 646 conversion: Invalid...
157,673
Posted By rjsha1
don't worry guys awk -F, '{if($2=="") print...
don't worry guys

awk -F, '{if($2=="") print NR}' test


does the job thanks
157,673
Posted By rjsha1
Hi blowtorch, thats great - Ihave another...
Hi blowtorch,
thats great - Ihave another question what happens if does not have a space and it just ,, or is , - which means the end of the line I have tried "" but it does nit like that
157,673
Posted By rjsha1
printing a line number using awk
Hi Chaps,
I'm trying to print the line number of a comma delimited file where the second field in the line is blank using AWK. Here is the code I have so far where am I going wrong. It is the last...
5,341
Posted By rjsha1
Cheers vish - knew I was missing something -...
Cheers vish - knew I was missing something - thanks guys for all your help.
5,341
Posted By rjsha1
Hi Jean-Pierre, That's great.. However I...
Hi Jean-Pierre,

That's great.. However I have another question, what if the Field seperator is a " as opposed to a , ?????
5,341
Posted By rjsha1
Hi guys, This is what I have so far ...
Hi guys,
This is what I have so far

nawk 'BEGIN {OFS=","} $1="Rerate: "$15 {print} ' robtest.txt >robawk.txt2

but it is placing a comma after Rerate: - what am I doing wrong
5,341
Posted By rjsha1
Moving Part of a field to another field using AWK
Hi there,
I have a comma seperated file with nine fields

the fields are

rerate: "numberTX",field2,field3,field4,field5.....


I want to do this to the file

reate:...
2,369
Posted By rjsha1
Problem with if logic
Hi there,
In my shell program I have two if statements
the first one checks that the date in yyyymm format is equal to a date from the parameter file in yyyymm format, and that the file and...
1,664
Posted By rjsha1
got it I used "$ICO" in the declaration. ...
got it I used "$ICO" in the declaration.


thanks
1,664
Posted By rjsha1
Here is the relevant section of the script :- ...
Here is the relevant section of the script :-

while read line
do
ICO=$(echo "${line}" | awk -F\| '{print $1}')

echo " ICO is $ICO" >> $REPORT
SQLFILE=`grep "^$ICO" $PARFILE | awk -F\|...
1,664
Posted By rjsha1
VAriable Question
hi there,
In my shell script I'm using a variable $ICO to speicfy the type of file that I'm processing e.g. VFR = France.

further in my shell I'm trying to programatically set the sql file thtat...
5,244
Posted By rjsha1
SQL LOADER or if you are using 9i or above...
SQL LOADER or if you are using 9i or above external tables
3,331
Posted By rjsha1
Hi Jim, The chap before me used sed - I...
Hi Jim,
The chap before me used sed - I did look for dosunix, and didn't find it. But mystery solved - thanks for your help.
3,331
Posted By rjsha1
Hi Jim, I have just found a sed command...
Hi Jim,
I have just found a sed command that removes all the ^M's in the file tucked away in a function. So that solves the mystery thanks for you help mate.


regards
bob.....
3,331
Posted By rjsha1
cksum question
Hi there,
I have a query about cksum. I'm running a script on the Unix box and in a script the cksum result differs from when I run it manually. As far as I can see the file is not being changed,...
2,460
Posted By rjsha1
Cheers mona, I thought I was going mad -...
Cheers mona,
I thought I was going mad - that what happens when you look at the screen for too long
2,460
Posted By rjsha1
Hi there, this is what I'm running from the...
Hi there,
this is what I'm running from the command line

sed -e s/\\/ / TalkTalk5.txt > bob.slash

but I'm still getting a garbed error message. Any ideas ?????
2,460
Posted By rjsha1
replacing the character "\" in a file
I am using sed to replace things like "," and tabs in a file, but what is the code for replacing a \ ????
33,766
Posted By rjsha1
that works thans matey - merry xmas
that works thans matey - merry xmas
33,766
Posted By rjsha1
Replacing a single quote
Hi there
I have a data file like so below
...
Showing results 1 to 25 of 35

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