Search Results

Search: Posts Made By: superprogrammer
4,779
Posted By superprogrammer
Thanks one more question When I use file.old...
Thanks one more question
When I use file.old >file.new I get a new file
but I want the results to be interpreted in file.net itself
I can copy this file.new to file.old but file is very big and...
5,315
Posted By superprogrammer
ok, how do I do it in awk?
ok, how do I do it in awk?
5,315
Posted By superprogrammer
This will remove all the spaces I am looking to...
This will remove all the spaces
I am looking to remove spaces at particular position
Let me change the example
If I have

ABC~12~43~TR ~890~poi~YU ~56~65 ~BNP

I want is...
5,315
Posted By superprogrammer
Removing spaces at particular position
I have a file with delimiter ~

ABC~12~43~TR ~890~poi~YU ~56~65

What I want is to remove spaces from column 4,7 and other columns as it is
So, the final file becomes
...
4,779
Posted By superprogrammer
Thanks but it converts both the values to true ...
Thanks but it converts both the values to true

Remember, I just want to change the value in Node1
4,779
Posted By superprogrammer
I am getting command garbled
I am getting command garbled
4,779
Posted By superprogrammer
Replacing in SED
I want to change the false in Node 1 to true. How do I do that?
<Node1>
<Usage>false</Usage>
<Url>ABC</Url>
</Node1>

<Node2>
<Usage>false</Usage>
<Url>DEF<Url>...
8,283
Posted By superprogrammer
Can I get the exit status of finger...
Can I get the exit status of finger username@host.com
as in if the username@host.com exists or not?
8,283
Posted By superprogrammer
Success status of mailx command
Hi
I want to know if the email address in the mailx exists or not
Eg:
Mailx -s "Subj" hello@ab.com
How do I know if the email address is a valid one???
Forum: HP-UX 11-28-2005
2,587
Posted By superprogrammer
By default it makes 1.1,1.2,.1.3 I want to make...
By default it makes 1.1,1.2,.1.3
I want to make 1.1,2.1,3.1 etc
How to do that?
Forum: HP-UX 11-28-2005
2,587
Posted By superprogrammer
Thanks much.... It really helped!!
Thanks much....
It really helped!!
Forum: HP-UX 11-28-2005
2,587
Posted By superprogrammer
SCCS problem when copying files
I have created a SCCS directory with version 1.1. It has say A.txt (for simplicity)
Now updated files are present in other directory. If I copy A.txt it wont be effected in SCCS. How do I make...
15,035
Posted By superprogrammer
Yes, and each line has equal number of bits, say...
Yes, and each line has equal number of bits, say the pattern starts always after 300 bits in each line and pattern is of 5 bits only
15,035
Posted By superprogrammer
Thanks vino, it worked I have one more question...
Thanks vino, it worked
I have one more question
If the file is like this
WSRTK10000000000000067839904809787489959595924667889USMNC
WSRTK10000893479900006783990480978748995959592466673CNATT...
15,035
Posted By superprogrammer
awk script to split a file based on the condition
I have the file with the records like


4234234 US phone
3244234 US cup
2342342 CA phone
8947234 US phone
2389472 CA cup
2348972 US maps
3894234 CA phone

I want the records with...
Forum: Linux 06-13-2005
2,684
Posted By superprogrammer
Use sniffers?
Use sniffers?
6,038
Posted By superprogrammer
Memory used by a particular process
how to get memory used by a particular process in unix?
13,024
Posted By superprogrammer
Hi bakunin Thanks for the response but I am...
Hi bakunin
Thanks for the response but I am looking for the syntax on how to pass unix shell arrays in Oracle stored procedure
13,024
Posted By superprogrammer
Shell arrays in oracle stored procedure
Is it possible to pass unix shell arrays in Oracle stored procedure?
Is yes, how?
Thanks
2,887
Posted By superprogrammer
PHP rpm problem
I did not know where to ask this problem so posting it here

The version of php used is 4.3.2.

1. If I say rpm -qa | grep php, I get mod_php4-4.2.2 and mod_php4-core-4.2.2

If I do php -v, I...
4,263
Posted By superprogrammer
I am using bash shell
I am using bash shell
4,263
Posted By superprogrammer
Trap command problem
I am having a unix script which in turns calls another unix script.
Both are creating some temp files in /tmp which are supposed to be deleted after the end of each run

In the child script if I...
7,129
Posted By superprogrammer
Well, thanks for the responses I need to split...
Well, thanks for the responses
I need to split the file in 20K (20,000) records, not in 20K size
Jim I really dont understand what that od does
Forum: HP-UX 06-03-2005
80,883
Posted By superprogrammer
Forgot to mention I have an alternate solution ...
Forgot to mention I have an alternate solution
cat filename | tr -d '\n' | tr -s '"' '\n' | wc -l
But I am looking for a grep solution
Is it possible to make some changes in grep command here?
Forum: HP-UX 06-03-2005
80,883
Posted By superprogrammer
count occurences of specific character in the file
For counting the occurences of specific character in the file
I am issuing the command
grep -o 'character' filename | wc -w
It works in other shells but not in HP-UX as there is no option -o for...
Showing results 1 to 25 of 26

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