Hi,
I am trying to clean files from various directories and copy them under "cleaned" directory, but I want to create the directory structure of the cleaned file under the cleaned directory at runtime.
F.eg: I cleaned a file using SED command as below..
sed 's/\/users\/ciimdrp/g' $fname >...
Hi,
Can anyone help me to convert a parameter, supplied to a unix script, from lowercase to Initcap.
I tried using tr but could not get this done in a single command.
f.eg:
====
My shell script is test.com, I run this script with a parameter ...
$test.com diamond
The result I expect is...
Hi,
Can anyone help me to convert a parameter, supplied to a unix script, from lowercase to Initcap.
I tried using tr but could not get this done in a single command.
f.eg:
====
My shell script is test.com, I run this script with a parameter ...
$test.com diamond
The result I expect is...
This is the message I got from Oracle support for this problem. [thumbsup2]
Thanks,
Skuthe.
TAR 3509748.995 - COLUMN HEADINGS ARE PRINTED AS COLUMNS ALONGSIDE OF THE DATA. has been updated by Oracle Support with relevant information on 01-DEC-03.
To view the progress on-line via MetaLink, go...
Hi,
I am printing a simple report (heading and one repeating frame) into a text file and I get the headings as columns of the reports along with the regular columns.
Does anybody have any idea?
e.g. I expect the report to be
Name Phone State
Joe 123-456-9876 OH
Tom...
Hi,
I want to read the long raw data from oracle and write it out to a flat file which will then be printed.
I would like to know how to read the long raw data from oracle 8.0.5 database and write it into the flat file.
Pl. advise ASAP as this it critical for my project.
Pl. note that I am...
YES, it works !. Thank you for your persistant efforts. I really appreciate it.
Also,could you please explain the above command so that I remember it from next time.?
Thanks.
No effect. Same output. The o/p is given below...
The '/' before the users is stripped... f.eg.The first line should actually look like /users/ciim/oe/com/load830.com similarly the rest of the file.
users/ciim/oe/com/load830.com
users/ciim/oe/com/ordcmpr.com
users/ciim/oe/com/loadmrel.com...
I do not know why. But when I run your script once it shifts the lines to left but does not delete the blank lines. When I run it for the second time it delete the blank lines. Secondly there is another problem, your script strips the first '/' from all the lines which screws my uniq command...
Vlad,
You made me glad !!.
Thank you so much buddy. I have to run the script twice to get my file cleaned up.But thats better than not getting the file cleaned up at all.
Thanks again.
NO buddy, none of your suggestion work, I am sorry.
Actually I have finised trying all SED commands to get rid of the <blank> from file but no w/o any result. Moreover the blanks at the starting of the file are not normal blanks !! by this I mean, when I open the file in vi on HP unix box and...
Hi,
I am stuck on a problem of deleting blank lines from a file and also shifting some lines in the file to the left.
My file is something like below...
-----------------------------------
<blank>
<blank>
<blank>
<blank>
<blank>
<blank>
<blank>
/users/cdc/importfg.com
/users/ciim/ap/com/apg...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.