06-04-2009
The first suggestion I'd make is to do a fresh install. That will prevent a lot of grief.
Now, what do you mean by "automated"? You still have to tell the shell which packages need to be removed. Stuff like Gnome, StarOffice, they are defined in clusters. Star Office is installed from SUNWCstaroffice, Gnome/JDS is SUNWCgna11* (there are 2 or three). So, you could get a list of the packages in the cluster you want to remove, and pass it to a pkgrm loop. If you have a test box somewhere, you may even try and see if pkgrm would remove the cluster (never tride it before, but now I'm curious).
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Can any one help me remove the unwanted data? I would want to remove the complete event id 4910 ( the type there is INFO), that means, I have to remove starting from 7th - 19th lines. can any one of you please help?
Thanks, (24 Replies)
Discussion started by: hitmansilentass
24 Replies
2. Shell Programming and Scripting
I have set of sources and the respective resolution. Please advice how to resolve the same using Unix shell scripting.
Source 1:
=======
<ext:ContactInfo xmlns:ext="urn:AOL.FLOWS.Extensions">
<ext:InternetEmailAddress>AOL@AOL.COM</ext:InternetEmailAddress>
</ext:ContactInfo>
Resoultion... (1 Reply)
Discussion started by: ambals123
1 Replies
3. UNIX for Advanced & Expert Users
I have a file with the below data, i would like to remove the end blank lines with no data. I used the below commands but could not able to succeed, could you please shed some light.
Commands Used:
sed '/^$/d' input.txt > output.txt
grep -v '^$' input.txt > output.txt
input.txt file... (5 Replies)
Discussion started by: Ariean
5 Replies
4. Shell Programming and Scripting
Context:
I need to remove unwanted newlines from a data file listing books and associated data. Here is a sample listing ( line numbers included ):
1 360762| Skip-beat! 14 /| 9781421517544| nb | 2008.| Nakamura, Yoshiki.| NAKAMUR | Kyoko Mogami followed
2 her true love Sho to Tokyo to... (6 Replies)
Discussion started by: Bubnoff
6 Replies
5. Emergency UNIX and Linux Support
We have a huge makefile composing of inclusion of libraries, objects and system libraries to generate a binary.
How do we find out that which of the libraries we can remove in the most efficient way? Doing hit and trial method is a waste of time and can during the linking with some post linking... (12 Replies)
Discussion started by: uunniixx
12 Replies
6. Shell Programming and Scripting
I have a .xml file, where i need some output. The xml file is like:
Code:
<?******?></ddddd><sssss>234</dfdffsdf><sdhjh>534</dfdfa>.........
/Code
I need the output like:
code
234
534
.
.
.
/code
How can i do it? (5 Replies)
Discussion started by: anupdas
5 Replies
7. Shell Programming and Scripting
Hello..I have a text file that need to remove unwanted text. This is the original file.
No. Time Source Destination Protocol Info
16 0.649949 10.1.1.101 209.225.11.237 HTTP POST /scripts/cms/xcms.asp HTTP/1.1 ... (9 Replies)
Discussion started by: taxi
9 Replies
8. Shell Programming and Scripting
Hi Guys,
Can someone give me a hand on how I can remove unwanted strings like "<Number>" and "</Number>" and retain only the numbers from the input file below.
INPUT FILE:
<Number>10050000</Number>
<Number>1001340001</Number>
<Number>1001750002</Number>
<Number>100750003</Number>... (8 Replies)
Discussion started by: pinpe
8 Replies
9. Shell Programming and Scripting
I have this Input File with extra double quotes in the middle. Please suggest how to handle this condition.
Input File:
"123985","SAW CUT CONCRETE SLAB 20"THICK",,"98.57","","EACH","N"
"204312","ARMAFLEX-1 3/8 X 3"",,"2.48","","PER FOOT","N"
"205745","MISTING HEAD HOLLOW CONE "C"... (3 Replies)
Discussion started by: BICC
3 Replies
10. Shell Programming and Scripting
Hi,
I have a very big file 25GB with information present in it like
$ head ind_stats
update index statistics pfirm001.dbo.Office using 200 values
go
... (11 Replies)
Discussion started by: sam05121988
11 Replies
LEARN ABOUT OSF1
clu_is_ready
clu_is_member(3) Library Functions Manual clu_is_member(3)
NAME
clu_is_member, clu_is_ready - Determine whether the local system is currently a cluster member or has been configured to be a cluster mem-
ber
LIBRARY
Standard C Library (libc.so, libc.a)
SYNOPSIS
#include <sys/clu.h>
boolean_t clu_is_member ();
boolean_t clu_is_ready ();
DESCRIPTION
The clu_is_member function determines whether the local system is currently a cluster member (that is, the TruCluster Server software has
been installed and configured, the system has booted a clusterized kernel, and the connection manager has allowed the system to join the
cluster membership).
The clu_is_ready function determines whether the local system has been configured to run in a cluster (that is, the TruCluster Server soft-
ware has been installed and configured, and the system has booted a clusterized kernel). The clu_is_ready function is most useful to code
that runs in the boot path before the connection manager establishes the cluster membership.
RETURN VALUES
Upon completion, the clu_is_member function returns TRUE if the local system is currently a cluster member, FALSE otherwise.
Upon completion, the clu_is_ready function returns TRUE if the local system has booted from a clusterized kernel, FALSE otherwise.
RELATED INFORMATION
Functions: versw(3), clu_get_info(3)
Commands: versw(8) delim off
clu_is_member(3)