Search Results

Search: Posts Made By: DANAOS_master
2,007
Posted By rbatte1
Welcome kshari8888, It's not the best title,...
Welcome kshari8888,

It's not the best title, so might I suggest "Trim trailing spaces from file" or such might be better? Can you edit this or do you need a moderator/administrator to?


I...
2,940
Posted By bakunin
You know what? You are right. Upon taking a...
You know what? You are right. Upon taking a nights sleep and a fresh look i come to the conclusion your solution is more robust than mine.

Most of my colleagues start having something else to do...
48,790
Posted By ahmedwaseem2000
try this: echo filename.tar.gz |awk -F. '{...
try this:

echo filename.tar.gz |awk -F. '{ print $1 }'


or

echo filename.tar.gz |cut -d'.' -f1


or sed solution

echo "filename.tar.gz" | sed 's/\(.*\)\.\(.*\)\.\(.*\)/\1/g'

or
...
5,645
Posted By itkamaraj
bash-3.2$ sed...
bash-3.2$ sed "s/default-value.*/default-value=\"monitor\/AMQ\"\/>/" t.txt
<monitor>
<name>WebsphereMqMonitor</name>
<type>managed</type>
<argument name="config-file"...
5,645
Posted By RudiC
Above will replace every occurrence of a default...
Above will replace every occurrence of a default value. Make it a bit more specific:sed "/default-value/ s/moni\/Websphere/monitor\/AMQ/" file
5,645
Posted By Don Cragun
What have you tried to solve this problem? ...
What have you tried to solve this problem?

What operating system are you using?

What shell are you using?
4,257
Posted By Don Cragun
We repeat: Please show us what you have tried to...
We repeat: Please show us what you have tried to solve this problem!
Forum: UNIX and Linux Applications 10-30-2015
6,441
Posted By bakunin
Aren't the two above somewhat contradictory? ...
Aren't the two above somewhat contradictory?


And this is maybe better left out until you know exactly what to trim.

As this seems to be an application problem i am going to transfer this...
Forum: UNIX and Linux Applications 10-30-2015
6,441
Posted By cero
What is the data type of the columns involved? If...
What is the data type of the columns involved? If it's LONG, CLOB, NCLOB or XMLType the default width is set by LONGCHUNKSIZE of LONG, whichever is smaller.
To ignore the default width use the...
2,812
Posted By Don Cragun
You have asked several similar questions and been...
You have asked several similar questions and been given code that solved those problems. Based on what you learned from those previous examples, what have you tried?

We are happy to help you...
10,498
Posted By Don Cragun
First, note that new readers might not realize...
First, note that new readers might not realize that ctrl+v is intended to mean press the v key while holding down the key marked ctl, ctrl, or control (depending on your keyboard manufacturer).
...
Showing results 1 to 11 of 11

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