10 More Discussions You Might Find Interesting
1. Red Hat
HI,
How do we figure out if the server is half blade server or full blade server?
Anything we need to look at to know on this?
thanks in advance (9 Replies)
Discussion started by: snchaudhari2
9 Replies
2. Shell Programming and Scripting
I know this is a challenging, its about comparing a 3 paragraph, from a whois command, i want to print what is the data that is not unique, example below is the admin phone and techphone, the rest is the same.it will print the correct and wrong
# whois google.com| sed -n '/Registry Registrant... (3 Replies)
Discussion started by: kenshinhimura
3 Replies
3. Programming
I want to convert an double to a character string. I done the integer and float ones using itoa and ftoa. How can I do a similar thing with doubles?
String::String
(
const float f
) {
char *cdata = ftoa (f);
strcpy (STR, cdata.c_str ());
}
String::String
(
const double ... (1 Reply)
Discussion started by: kristinu
1 Replies
4. Shell Programming and Scripting
I have a file with different record length. The file as to be converted into fixed length by appending spaces at the end of record. The length should be calculated based on the record with maximum length in the file.
If the length is less than the max length, the spaces should be appended... (4 Replies)
Discussion started by: Amrutha24
4 Replies
5. Shell Programming and Scripting
Hi Everyone,
I am looking for a command that would do the following:
1) Change all the letters/words in a file to Lower case Letters/words.
2) Remove the Underscore (_) and Change the Character after the underscore (_) to an Uppercase letter.
Example:
File contains the below words:
... (5 Replies)
Discussion started by: filter
5 Replies
6. UNIX for Dummies Questions & Answers
Hi, I'm trying to output all text from the first paragraph in a file that contains a specific string through the last paragraph in that file that contains that string.
Previously, I was outputting just each paragraph with that search string with:
cat in_file | nawk '{RS=""; FS="\n";... (2 Replies)
Discussion started by: carpenn
2 Replies
7. Shell Programming and Scripting
Hi, Iam new to unix. I have one input file .
Input file :
ID1~Name1~Place1
ID2~Name2~Place2
ID3~Name3~Place3
I need output such that only first column should change to fixed width column of 15 characters of length.
Output File:
ID1<<12 spaces>>Name1~Place1
ID2<<12... (5 Replies)
Discussion started by: manneni prakash
5 Replies
8. UNIX for Dummies Questions & Answers
Hi,
Consider the following paragraph.
This is line1.
This is line2,
This is last line.
I need the output as
4:This is last line.
i.e The line after the blank line should be displayed along with line number.
I am a unix begineer.Any one please help me to solve this problem (3 Replies)
Discussion started by: Sekar1
3 Replies
9. Linux
Hi ,
Unix.com has been life saver for me I admit :)
I am trying to extract a paragraph based on matching pattern "CREATE TABLE " from a ddl file . The paragraphs are seperated by blank line .
Input file is
#cat zip.20080604.sql1
CONNECT TO TST103
SET SESSION_USER OPSDM002
... (2 Replies)
Discussion started by: capri_drm
2 Replies
10. Shell Programming and Scripting
I have a fixed width file and i need to change 36th field to "G" in for about random 20 records? How can I do it? (4 Replies)
Discussion started by: dsravan
4 Replies