Search Results

Search: Posts Made By: yeclota
15,913
Posted By yeclota
Use a shell variable value in a control file via sqlloader
Dear,

I must load a file in a table via sqlloader. I have also a column in this table which must contain the same value for all rows in this table. And this value is get from a shell script...
5,687
Posted By yeclota
Split a word in short words
Dear,

Can somebody help me with this?

I have a variable


TGT=T2DIRUPDAZ20070326VA


I want to get in variables some part of TGT. like this.


TGT1=UPDA
TGT2=20070326
TGT3= VA
...
2,793
Posted By yeclota
help ton convert a file of number.
help ton convert a file of number.

Hello ,
I have this problem. Can somebody can help me ?

my input file is like this:

1225
1254
4567
7895
4565

I want to have in output something...
1,514
Posted By yeclota
Thkx . It's OK
Thkx . It's OK
1,514
Posted By yeclota
Delete a line last caracter
Hello dears,

I have a CVS file in wich a have many lines. each line is ended by this two caracters ';;'. I want to get a new format of this file by deleting this caracters which unix shell script...
9,653
Posted By yeclota
sed or awk to extract data from Xml file
Hi, I want to get data from Xml file by using sed or awk command. I want to get the following result :

mon titre 1;Createur1;Dossier1
mon titre 1;Createur1;Dossier1

and save it in cvs file...
4,792
Posted By yeclota
Hi, I have a solution with awk. ...
Hi,
I have a solution with awk.

#!/bin/ksh

cd `dirname $0`/
APPLIHOME=`pwd | sed 's%/[^/]*$%%'`
echo "$APPLIHOME"

if [[ $# -lt 3 ]] then
echo
echo "ERROR : need 4...
4,792
Posted By yeclota
extract a part of a path like (input: /etc/exp/home/bin ====> output: exp)
Hi,
thanks for you help,
with this solution:
echo '/etc/exp/home/bin' | awk -F/ '{print $3}'
exp.

do you have another solution with sed command? because when a try your first solution in a...
4,792
Posted By yeclota
extract a part of a path like (input: /etc/exp/home/bin ====> output: exp)
Hi, I need
to make some extraction . with the following input to get the right output.

input: /etc/exp/home/bin ====> output: exp

and

input: aex1234 ===> output: ex

Thanks for...
Forum: Programming 12-11-2008
2,021
Posted By yeclota
extraction from a path
Hi,
Can you help me on this two problems?

how can i get :

from input: /ect/exp/hom/bin ==> output: exp
and
from input: aex1234 =====>output: ex

thanks,
1,707
Posted By yeclota
sed command
Is it possible to get a file mane in this case?

in input you have : /ect/bin/dir/files/tata.sh
in out put you expected: tata

the [/ect/bin/dir/files/] can be short or can be...
1,877
Posted By yeclota
Is it possible to get a file in this case? ...
Is it possible to get a file in this case?

/ect/bin/dir/files/tata.sh =======> tata ONLY.

the [/ect/bin/dir/files/] can be short or can be more longer than thsi one.
Thanks for your help
1,877
Posted By yeclota
sed command
Hi,
I'm looking to solve a shell problem:

eg:

If I'm in a directory like this:

[Toto]/x1/x2/y1/y2>

And i want to get the subdirectory /y1/y2.

how can i get it?
Thanks for your...
3,274
Posted By yeclota
I have this message ! find: 0652-019 The status...
I have this message !
find: 0652-019 The status on selacc_thaler.sh_20041002 is not valid.
find: 0652-019 The status on selacc_thaler.sh_20060531 is not valid.
find: 0652-019 The status on...
3,274
Posted By yeclota
a remove script taken in input a file which contain a list of directories
Hi,
I'm looking to delete some files from directories.
I've just put in a file the location of these files.
e.g:

in file supprs.txt there is:
/usr/host/t1.txt
/etc/dev/u1.java
...
36,044
Posted By yeclota
It's Ok
It's Ok, Thanks for your help.

Lota
36,044
Posted By yeclota
find . -exec grep -l 'toto' {} \
find . -exec grep -l 'toto'{}\;

return
find: 0652-018 An expression term lacks a required parameter.

can you give me some details because i'm not an expert in shell programming.

Thanks.
36,044
Posted By yeclota
Shell:Find a word in files in a directory and subdirectories
I'm looking to write a ksh code with will be alble to find a word like 'toto' in all files going from my current directory.

eg.

/doc ----------->have: text.c which "toto"...
Showing results 1 to 18 of 18

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