10 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
Need your help in removing the following words from the posts .
These are confidential info posted by mistake and our organization is doing an audit on this.
Could you kindly remove as per below.
... (4 Replies)
Discussion started by: ptappeta
2. Shell Programming and Scripting
I try to delete all strings if their first or last word is one of this list of words : "the", "i", "in", "there", "this", "with", "on", "we", "that", "of"
For example if i have this string in an input file "with me" this string will be removed,
"the european... (2 Replies)
Discussion started by: cyrine
3. Shell Programming and Scripting
I have a string that may or may not have 4 dots.
The string is actualy a file within a folder, where multiple files are located.
Files may look like:
# ls *
I want to fill 2 variables,... (1 Reply)
Discussion started by: sea
4. Shell Programming and Scripting
I want to remove the first word "cn=" from the below details. Only I want the number like 171345,174144...
How can I achieve this.
P (6 Replies)
Discussion started by: pokhraj_d
5. Shell Programming and Scripting
Is there a better way to achive this other than cut command?
Basically, I need to remove the 1st word and _ from the string.
Thanks. (1 Reply)
Discussion started by: vedanta
6. Shell Programming and Scripting
I am running a command find . -name amp.cfg | cut -c 3- which gives me output something like below
deb/err/amp.cfg I want to remove trailing "/amp.cfg" so that i should get output something like... (7 Replies)
Discussion started by: anand.shah
7. Shell Programming and Scripting
I have a file which has the following
I want to do something like this
/u12/data/oracle... (7 Replies)
Discussion started by: javeedkaleem
8. Shell Programming and Scripting
I have a file in which a number of lines are starting with similar first word but different next words.
I want to replace the any nth word(not 1st or 2nd) with another word.
Eg:- My file contains are like this:-
Ram is a boy.
Ram is a good boy.
Ram plays cricket.
Here I want to... (2 Replies)
Discussion started by: mukeshbaranwal
9. Shell Programming and Scripting
family balance >>>>>
java.io.FileNotFoundException: Settings.xml (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at... (2 Replies)
Discussion started by: linuxadmin
10. Shell Programming and Scripting
i have a question about to remove first word from a sentence.
$msgtxt = "this is a test script";
my @ap_txtMsg = split(/ +/, trim_data($msgtxt));
$ap_msgtxt = splice (@ap_txtMsg, 0, 1);
but the output is first word that i... (1 Reply)
Discussion started by: malaysoul