Search Results

Search: Posts Made By: kaushys
16,858
Posted By kaushys
thank you for your prompt replies. But I am...
thank you for your prompt replies. But I am looking for meaningful English sentences.
16,858
Posted By kaushys
Yes, the sentences need to make sense. May be I...
Yes, the sentences need to make sense. May be I can give an input file with some paragraph.

any Type of script will do Perl, awk shell all are good.

The sentences can have any character like...
16,858
Posted By kaushys
Random Sentence Generator
Hi,
I need to create a table with random sentences. I need lines that are upto 1000 characters in lenght. I need a random sentence generator that will create sentences and output it to a text...
11,584
Posted By kaushys
Setting up Bash profile
Hi,
I have a SunOS -s 5.9 Generic_118558-39 sun4u sparc SUNW,Sun-Fire-V210 system.

I need to set up my .bash_profile. I need to do the following thins.

1) set up history
2) Set up VI as my...
1,565
Posted By kaushys
I didnt understnd your question properly. Also I...
I didnt understnd your question properly. Also I want to exclude entire paras not just matching lines.
9,753
Posted By kaushys
The second perl script and the NAWK script work...
The second perl script and the NAWK script work fine except for one thing.
They dont exlude the line which has the work 'hello'. It looks like they take into accound only the line matches exactly....
1,565
Posted By kaushys
Excluding certain paras from a file
Hi,
I have a log file which might have certain paragraphs.

Switch not possible Error code 1234
Process number 678

Log not available Error code 567
Process number 874
.....
......
......
...
5,441
Posted By kaushys
Can I have the words that need to be excluded in...
Can I have the words that need to be excluded in a file? And I should be able to read the file and then do the same process. Here we have only two strings. 'Connect' and 'alarm.....'. I need to do...
19,476
Posted By kaushys
Comparing string and integer in IF
hi,
I need to create an IF condition. I read a line from a file and get the 5 word using space as a delimited. This word can have only two values either '*' or '1-5'

I need to write an IF...
9,753
Posted By kaushys
The first awk script runs well on one server on...
The first awk script runs well on one server on the other it says syntax error on line 12 where the regx occurs.

The second NAWK script that was given has a diff problem. It runs fine but it...
9,753
Posted By kaushys
Thank you so much. This was really easy with so...
Thank you so much. This was really easy with so many options.
9,753
Posted By kaushys
I am not sure how it works but looks like this...
I am not sure how it works but looks like this could help me. Thank you for such a short turnaround. I will check the awk script and see how it works.

Just as a doubt can't I use a while read do...
9,753
Posted By kaushys
removing certain paragraphs for matching patterns
Hi,
I have a log file which might have certain paragraphs.

Switch not possible Error code 1234
Process number 678

Log not available Error code 567
Process number 874
.....
.........
4,160
Posted By kaushys
Each para looks like this but with a diff date ...
Each para looks like this but with a diff date

2008-06-20-19.23.20.XXXXX-360 XXXXXXXXX LEVEL: Event
PID : 24009 TID : XXXXXXXX PROC : db2acd
INSTANCE: db2inst1 ...
4,160
Posted By kaushys
Pattern Matching and lines after that
I have a huge file and every paragraph has a date. But I want to retrieve the paras for the last two days only. So I can grep and findout the linenum for the first line since yesterday. Now I want to...
Forum: Solaris 06-06-2008
16,202
Posted By kaushys
Thank you all for your responses. the 'set'...
Thank you all for your responses. the 'set' command worked with. I have included that line in both the .profile
Forum: Solaris 06-04-2008
16,202
Posted By kaushys
This will be for ksh... Damn..I was trying set...
This will be for ksh...
Damn..I was trying set vi -o
Novice mistake..
Thank you for your help..
Forum: Solaris 06-03-2008
16,202
Posted By kaushys
vi editor for SUN OS
I need to change the editor to vi in SUN OS. I need to use the options that vi gives while I am typing on the command line. I can vi any file and make changes to it. But my problem is when I am using...
2,818
Posted By kaushys
The thing is that the value changes every week....
The thing is that the value changes every week. So if I write a script with that sed command I ineed to include a variable in the command and to do that I need to include the " character. If I do...
2,818
Posted By kaushys
Help on SED AWK in shell scripting
Hi,
I have a script abc.sql which contains a word 'timestamp'.
I have another script xyz.txt genrated everyweek, which has a new timestamp value every week.
How do I replace the word...
Showing results 1 to 20 of 20

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