Search Results

Search: Posts Made By: vijaykrc
Forum: Programming 09-21-2017
2,237
Posted By vijaykrc
It's my bad, i am working on a corrupted rtf file...
It's my bad, i am working on a corrupted rtf file and was trying all sort of things. The binary stream works if the file is not corrupted.

Thank You for the reply.
Forum: Programming 09-21-2017
2,237
Posted By vijaykrc
Problem is it's writing the raw data which is...
Problem is it's writing the raw data which is with all the tags, It's not recognizing as rtf format data, when i open the file in RTF editor i see all the tags and content instead of just content,...
Forum: Programming 09-21-2017
2,237
Posted By vijaykrc
RTFEditorKit - Write to RTF File
Hi,
I am looking at writing the BLOB from database which is an rtf data to write to RTF file.
I am trying to use the RTFEditorKit for the same and was struck with the write API it provides.
...
2,199
Posted By vijaykrc
Thanks
Thank you... fold works good.....
2,199
Posted By vijaykrc
Need to search and replace based on character count
Hi,
I wanted to add a newline character after every 100 characters in a file using a awk or shell without reading each line of the file.

I want to run a command on the complete file.

This does...
2,320
Posted By vijaykrc
Split a line on positions before reading complete line
Hi,

I want to split before reading the complete line as the line is very big and its throwing out of memory. can you suggest.

when i say
#cat $inputFile | while read eachLine
and use the...
10,935
Posted By vijaykrc
10,935
Posted By vijaykrc
Split a line on positions - Shell
Hi,
I want to split the length of a line based on the numbe of positions.

eg: ABCBEFGH IJKLMN asdfas

I want to split every 4 characters into a new line
Can i use cut or any easy way of...
2,071
Posted By vijaykrc
K Shell evaluating value to a variable
Hi,
I have the following requirement.

V="First"
R="V"

echo $$R

The output should be First. How do i achieve this.

how do we evaluate the $R and evaluate it to $V as $R contains V...
2,460
Posted By vijaykrc
Thanks
Thanks a lot.....
2,460
Posted By vijaykrc
Calling Functions of Other K Shell Program
Hi,
I have a K shell
a.ksh

function abc {
// Some logic
}

In
b.ksh
i have included the a.ksh
./a.ksh

I want to call the abc function from this b.ksh script.


Thanks
Vijay
1,342
Posted By vijaykrc
Spaces getting trimmed off
Hi,
I have a K shell variable which is holding some long data and when i write the content of the variable to a file, its trimming off some of the intermediate spaces.

e.g:...
Forum: HP-UX 05-08-2008
8,509
Posted By vijaykrc
File Locks
Hi,
How to list the files which are not locked?

I want to read the files that are not locked by other user only.

can we do it using ls option?
Forum: AIX 04-22-2008
12,851
Posted By vijaykrc
One more....
I see
PasswordAuthentication yes
on the UNIX side and I beleive it should be Yes only as i am able to transfer to another UNIX box with the same configuration without a prompt for password.
...
Forum: AIX 04-22-2008
12,851
Posted By vijaykrc
sshd file???
In which path we will have the sshd config file On the UNIX and on the AIX
to change the yes no status
Forum: HP-UX 04-22-2008
5,633
Posted By vijaykrc
Thanks
Thank you.
I posted because i was not sure if i have to send to HP-UNIX group or IBM-AIX group.
Forum: AIX 04-22-2008
12,851
Posted By vijaykrc
Thanks
Thanks for the replies.
I hope we need to enable in the Cofig file for Authentication.

It means we have to enable Yes in the IBM AIX box right.
PasswordAuthentication Yes
Forum: HP-UX 04-22-2008
5,633
Posted By vijaykrc
SCP HP-UNIX to IBX-AIX
Hi,
I want to use SCP to transfer files from HP - UNIX to IBM AIX

I have generated keys using ssh-keygen -t rsa on the UNIX box.

I have copied the public key to the AIX box to the HOME_DIR...
Forum: AIX 04-22-2008
12,851
Posted By vijaykrc
SCP from UNIX to AIX
Hi,
I want to use SCP to transfer files from HP - UNIX to IBM AIX

I have generated keys using ssh-keygen -t rsa on the UNIX box.

I have copied the public key to the AIX box to the HOME_DIR...
44,855
Posted By vijaykrc
Thanks
Thank you for the help...
I may be moving around 5000 files and i cannot tar them... i need to send individually...

I am benefiting around 3 hrs if i send then at a time using the * and if i send...
44,855
Posted By vijaykrc
Thanks and one more doubt
Thanks a lot for era and tderscheid.

I used back slashes to nullify.

can i delete each file when the copy is done?
If i use SCP by looping i know it can be done but it takes lot of time if i...
44,855
Posted By vijaykrc
UNIX - SCP File Transfer
Hi,
How do i know if the files are transferred succesfully when i use SCP to transfer files between 2 servers.

One more is i am trying to send all the files in a single shot by using * to save...
81,652
Posted By vijaykrc
Thanks
Thanks a lot...
81,652
Posted By vijaykrc
resetting IFS variable
Hi,
I have modified the IFS variable in the K shell program and with in the program i want to reset to the default one. How do i reset the same.

e.g

in the begining of the program IFS is...
1,525
Posted By vijaykrc
K shell with Oracle
--------------------------------------------------------------------------------

Hi,
I am getting values from oracle database and splitting with "|".
When i loop thru the $OUTPUT i am getting so...
Showing results 1 to 25 of 31

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