Search Results

Search: Posts Made By: arsheshadri
4,854
Posted By arsheshadri
Thanks Chella, sed 's/\^.[^ ]*//g' input.txt...
Thanks Chella,

sed 's/\^.[^ ]*//g' input.txt is working.

Is there a way to remove all characters from start of line till some character say ^.

Thanks & Regards
Shesha
4,854
Posted By arsheshadri
Instead of above..solution for the following will...
Instead of above..solution for the following will help me.

I have to eliminate all characters between ^ and a space in a file.

Following lines -
Test ^ H^@^@^@^@^@^@^B^VDM-BM-$|M-^_M-F^AM-...
Forum: HP-UX 06-26-2008
2,401
Posted By arsheshadri
Eliminating characters between two expressions
Hi I have to eliminate all characters between ^ and a space in a file.

Following lines -
Test ^ H^@^@^@^@^@^@^B^VDM-BM-$|M-^_M-F^AM- File1
Test^H^@^@^@^@^@^F^A^X^@^SM-s^TM-3M-G^A File2
Should...
4,854
Posted By arsheshadri
Program to remove a pattern
Hi,

I want to remove all occurances of a character which follows a ^ symbol.

For ex:

This is a Test ^H^@^@^@^@^@^@ File used in VI. ^@^@^B^VDM-BM-$|M-^_M-F^AM-

In the above example, I...
Forum: HP-UX 06-25-2008
3,369
Posted By arsheshadri
Not able to read a file.
Hi,

I am trying to read a big file. If I try to open it in vi, it is telling "Line too long
". If I try to do wc -l test.log, it is telling "0 test.log".

Please let me know how can I know...
Forum: HP-UX 06-25-2008
7,741
Posted By arsheshadri
Removing ^D and ^H characters
Hi,

I have a very huge file and it contains some unprintable characters like ^H and ^D.

If I try to remove using cat test1.ser| tr -d '\136 110'>newfile1 it is only removing ^and all spaces in...
Forum: AIX 10-04-2007
4,201
Posted By arsheshadri
Hi Thanks for the reply. I tried with mailx but...
Hi Thanks for the reply.
I tried with mailx but still not able to solve.

I am not getting any error. After execution of the command, I am getting the prompt.
If I type mail here I am getting...
Forum: AIX 10-03-2007
4,201
Posted By arsheshadri
Not able to send mails
Hi,

I am not able to send mails to the recipents.
I am using AIX 5.3 Version and using the below command.

cat test.log|mail -s "TestMail" user1@mail.com

Can you please tell me is there any...
Forum: AIX 08-20-2007
17,895
Posted By arsheshadri
ls command output
Hi,

If I give ls -m /temp/tempusr/P*.* command,
I am getting the list of filenames with comma as delimiter but along with this I am getting the file path as well. i.e I am getting output as
...
Forum: AIX 08-20-2007
50,472
Posted By arsheshadri
Thank you guys.
Thank you guys.
Forum: AIX 08-19-2007
50,472
Posted By arsheshadri
ls command output in single line
Hi,

Can anyone suggest me how can I display the output of ls command in single line with some delimiter say pipe (|)?

I know it can be done by writing a script by using the loops but I wanted...
Forum: AIX 04-11-2007
22,752
Posted By arsheshadri
Substitution not working in ksh
Following code is working in bash but not in ksh.
Can someone please send me an alternative?

#!/bin/ksh
fname="EOA.dmp"
echo $fname
logname=${fname/.dmp/.log}
echo $logname

I am getting...
Forum: Solaris 04-11-2007
12,655
Posted By arsheshadri
Substitution not working in ksh
Hi,

Following code is working in bash but not in ksh.
Can someone please send me an alternative?

#!/bin/ksh
fname="EOA.dmp"
echo $fname
logname=${fname/.dmp/.log}
echo $logname

I am...
Forum: Solaris 01-03-2007
15,277
Posted By arsheshadri
nohup not working
Hi,

I am working in SunOS 5.8.
I wanted to run a script in background and I gave the following command, but it is not working.

I gave "nohup ksh ULOAD.ksh &"
It just came out giving a msg...
Showing results 1 to 14 of 14

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