Search Results

Search: Posts Made By: anumkoshy
12,859
Posted By anumkoshy
use SQL loader to dump a fixed length file in to DB
consider a fixed length file

12345abcd8901
12345abcd7777
12345njdu8888
12345hdku8388

i would like to dump it in to oracle DB using sql loader
12345 in to first coloumn
abcd in to second...
8,124
Posted By anumkoshy
convert Fixed length to CSV
Now a little more twisting case ...........

I would like to convert a fixed length file in to a csv file

consider a fixed length file like

12345abcd8901
12345abcd7777
12345njdu8888...
8,124
Posted By anumkoshy
thanks
it works...................
8,124
Posted By anumkoshy
some thing coming new the requirements
consider a CSV file

20045667886,tamrind,user,india,address,love
20045667886,tamrind,abcd,india,address,love
20045667886,tamrind,user,india,address,love...
1,842
Posted By anumkoshy
hmmmm
like
qwerasdf@gmail.com

thus this string which is generated by mailx should be a hyperlink.
1,842
Posted By anumkoshy
email enhancements
can i create an email which can handle links, or email links,

using mailx or any other utility
8,124
Posted By anumkoshy
continued
here i woulddd not like to truncate the data ... instead i would like to give a message that the particular field is not as expected (file validation)
8,124
Posted By anumkoshy
thank its cool nd serves the purpose
now there rises one more question ....

i just want to verify the field values if they are more than the max size

==> file1 <==
20045667886,tamrindqiww,user,india,address1234,love...
8,124
Posted By anumkoshy
some issue
some thing more

eg:

20045667886,tamrind,user,india,address1234,love
20045667886,tamrind,user,india,address45,love
20045667886,tamrind,user,india,address333333,love


if there is a value...
25,706
Posted By anumkoshy
i did a trial nd errror
echo |$CHECK|

CHECK=`printf "%d"$CHECK`
echo $CHECK


the result was
| 15|
15

it worked :cool:
25,706
Posted By anumkoshy
TRIM spaces in shell
am get a value like ' 15' in a variable

what is the easiest method i can follow to strip 15 out
72,740
Posted By anumkoshy
How to call a perl script from a shell script
I have a perl script,Test.pl

which needs arguments from command line like test.pl arg1 arg2 arg3

how can i call it from a shell script
20,362
Posted By anumkoshy
any updates
:mad:................................
20,362
Posted By anumkoshy
How to NDM a file in unix
..................................

Network data mover is a secure mechanism to transfer data .

can any body guide me out ....
how it is done
17,560
Posted By anumkoshy
Hmmm Thanks
(uuencode INPUTFILE $FILE_STRING.out ;uuencode INPUTFILE $FILE_STRING.err )|mailx -s "SUBJECT" $EMAIL_ID
17,560
Posted By anumkoshy
attach 2 files using mailx
if test.dat is the file

cat test.dat|uuencode test.dat|mailx -s "subject" mailid

can be used for attaching test.dat

how can i attach more than one file to a mail using mailx
4
5,100
Posted By anumkoshy
.
............................
4
5,100
Posted By anumkoshy
yep........ sure if test.dat is the file ...
yep........ sure

if test.dat is the file

cat test.dat|uuencode test.dat|mailx -s "subject" mailid

can be used for attaching test.dat



how can we attach
test1.dat and test2.dat
4
5,100
Posted By anumkoshy
mailX
I would like to get a solution ..

how can i attach more than one file to a mail using mailx


yep........ sure

if test.dat is the file

cat test.dat|uuencode test.dat|mailx -s "subject"...
39,334
Posted By anumkoshy
thanks a lot
it worked :cool:
39,334
Posted By anumkoshy
i lll explain it
any ways thanks for reply..........

i want to pad zero to a run time variable

ie
eg :$i is the variable

if $i =1 it should be like 01
if $i=11 it shoild be 11 itself
39,334
Posted By anumkoshy
Pad zeros to a number
Pad zeros to a number and assign it to a variable


like i get 1 in $i ,i want it to be $i as 01
8,124
Posted By anumkoshy
error while handling too lengthy file
awk: string too long near line 1
awk: syntax error near line 1
awk: illegal statement near line 1
8,124
Posted By anumkoshy
can u make it more clearer
...:b:

.............


...........
8,124
Posted By anumkoshy
CSV file eg :- ...
CSV file
eg :-
20045667886,tamrind,user,india,address1234,love
20045667886,tamrind,user,india,address45,love
20045667886,tamrind,user,india,address333333,love
.
.
...
Showing results 1 to 25 of 26

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