Search Results

Search: Posts Made By: angel12345
2,780
Posted By angel12345
Cna you please explain me this?
Cna you please explain me this?
2,780
Posted By angel12345
Howto add a constant column to the text file
Hi,
I am converting a .DBF file to pipe delimited file

my requirement is like

lets say my .DBF is residing in path /a/b/c/d/f/abc.DBF

I need my .txt file as
having a column with...
3,459
Posted By angel12345
Hi Franklin, The input values are...
Hi Franklin,

The input values are x=21-10-1986 and y= 22-10-1986
so i need to check the particular wf name , wf_xxxx .
The param file format is like

[wf_xxxx]
$$startdate=
$$enddate=

i...
3,459
Posted By angel12345
Hi franklin, thanks for the reply. can u pls...
Hi franklin,
thanks for the reply.
can u pls explain this for my future reference.
also i want to write the values of x and y into $$a and $$b
3,459
Posted By angel12345
Grep a string and write a value to next line of found string
Hi,
I have two variables x and y.
i need to find a particular string in a file, a workflow name and then insert the values of x and y into the next lines of the workflow name.
basically it is like...
2,704
Posted By angel12345
input data : two date values seperated by a...
input data : two date values seperated by a comma in a target file.
need to set these values to two variables in another file, under the specific mapping name.

---------- Post updated at 07:03...
2,704
Posted By angel12345
hi itkamaraj Please specify..
hi itkamaraj
Please specify..
2,704
Posted By angel12345
Getting value from one file and assigning it to variables of another file.
Hi,

I need to read two values,startdate and enddate from a param file and then write this value to another param file(global) under a specific workflow name.Here in global param file there is may...
1,445
Posted By angel12345
doing a sort on first two fields
hi,

i'm having a file stg_ff.txt
which contains 10 fields,which contains millions of records

i need to cat the first 10 rows in the file after doing a sorting on the first two fields i n the...
838
Posted By angel12345
problem in seeing a lengthy line
hi ,
i need to check the first line of a tilde(~) delimitted source file, so i wrote a command as follows
head -1 <source filename>

but the problem is that the line is too lengthy,as it spans...
916
Posted By angel12345
how to get filename along with its first field
hi,

i have some 37 files having a file name pattern 'stg*' which are tilde delimited files. the requirement is i need to fetch two columns
field1:filename
field2:first field of each file.... ...
2,529
Posted By angel12345
Extract a character specifying position
hi ,
i am having a file
Full_ARTMAS_20110510152425.xml in my local directory. i wanted to extract the character at the 35143546 th position at line 1 of this file.Can any body help me how to do...
2,231
Posted By angel12345
Thanks for the correct response :D
Thanks for the correct response :D
2,231
Posted By angel12345
appending a blank line for a group of files at the end
hi,
i m having a group of files starting with name 'Itemdelete<timestamp>' .
my requirment is to append a blank line at the end of files ,using unix in all the Itemdelete* files with a single...
1,462
Posted By angel12345
hi , now im getting only dir is empty.... for...
hi ,
now im getting only dir is empty.... for what ever condition.....



when ever i had cehcked this line ls -A $dir
its giving me the error like this directory not accessible :(

...
1,462
Posted By angel12345
please check this code
hi,
i m checking the directory is empty or not



FILE=""
DIR="/ann/a1"

if [ "$(ls -A $dir)" ]; then
echo "$dir is not Empty"
else
echo "$dir is Empty"
fi


i m...
1,918
Posted By angel12345
Sorting the records for a file
hi,
Please suggest me how to do this logic
say i am dynamically taking a file name into the script.
when ever a file name it should sort the all the records based on the first character in...
2,551
Posted By angel12345
GOT ITTTTTT :D
GOT ITTTTTT :D
2,551
Posted By angel12345
unary operator is missing
hi ,
i m getting an error unary operator is missing. pls check why is this so?


i=5
while test $i !=0
do
echo $i
i=`expr $i - 1`
done
4,710
Posted By angel12345
Thanku its worked fine :)
Thanku its worked fine :)
4,710
Posted By angel12345
Print permissions for a file in output
hi
i m trying to print the permissions for a file in output


echo name
read name
touch name.txt
permission=$((ls -l $name.txt))
echo permission





please suggest where i went wrong?
1,978
Posted By angel12345
sorry Scrutinizer, i mistook ur comment :) ...
sorry Scrutinizer, i mistook ur comment :)
regards
Angel



---------- Post updated at 01:24 AM ---------- Previous update was at 01:22 AM ----------




hi ,
thanks to all of uuuuu its...
1,978
Posted By angel12345
still same error
i havnt put space in while loop.Then i put the brackets as you told.


count=0
max=10
while [$count -lt $max]
do
echo $count
echo count=$((count+1))" "
done
echo "value of...
1,978
Posted By angel12345
problem with while loop
hi
I had created a while loop in a script file called whiletest.sh as follows

as follows:

count=0
max=10
while [$count -lt $max]
do
echo $count
echo count=$(count+1)" "
done
echo...
2,708
Posted By angel12345
tac is working fine .but i will try the above...
tac is working fine .but i will try the above code also :)
Showing results 1 to 25 of 28

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