10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi ,
I have a file which is like below. The file record is separated by | as delimiter. I want to remove the first and last | in the file and also I want to remove the spaces in the columns.
Original File
|3464114 |10 | REPORT|CA| 1|0|4825400|0|213167| 939396524|
Expected:... (3 Replies)
Discussion started by: arunkumar_mca
3 Replies
2. Shell Programming and Scripting
Hi,
How to remove blank spaces using vi (I am using AIX)?
#cat siva.txt
AAA BBB
CCC DDD
EEE FFF
Need to remove space between 2 columns.
Regards,
Siva (7 Replies)
Discussion started by: ksgnathan
7 Replies
3. Shell Programming and Scripting
Hi
How to remove white space from this input:|blue | 1|
|green| 4|
|black| 2|
I like to search for green and get 4not 4
How to modify this to work correct:awk -F"|" '/green/ {print $3} (7 Replies)
Discussion started by: Jotne
7 Replies
4. Shell Programming and Scripting
TT0000013101257
|
JCJMMUJMMUB018 ... (0 Replies)
Discussion started by: sususa
0 Replies
5. AIX
Hi everyone,
i have a question about the Memory Management in AIX 6.1.
I have
- 128 GB RAM and
- 70 GB Page Space.
The application i am running on this machine is doing some operations in perl. These are done only once a day and uses both memory and paging space. My problem... (1 Reply)
Discussion started by: Haichao
1 Replies
6. AIX
Guy's
This is our page space , i want some information about page space and I want the good way to how to increase the page space and what's the recommended page space that need to be configured
Page Space Physical Volume Volume Group Size %Used Active Auto Type Chksum
hd6 hdisk0... (8 Replies)
Discussion started by: Mr.AIX
8 Replies
7. Shell Programming and Scripting
Hi I want to remove a space for column 6. basically column 6 in my file looks like this:
tig 2
tig 9
tig 39
tig 300
I want the output to look like this:
tig2
tig9
tig39
tig300
How do I remove that space just for column 6.
thanks (5 Replies)
Discussion started by: phil_heath
5 Replies
8. Shell Programming and Scripting
US76132M1027|NASDAQ Capital Market|NASDAQ Capital
Hi I want to remove the leading space ,i have a file full of lines with this space pls help me (6 Replies)
Discussion started by: surenz298
6 Replies
9. Shell Programming and Scripting
Hi....
I have a situation...I have a data file...that has space(an extra row with no data) at the end of file. I am trying to remove that spaces only if the file has a space at the end of file and if there is no space I don't want to do anything.
Can you please help me in this regards.
... (4 Replies)
Discussion started by: rkumar28
4 Replies
10. Shell Programming and Scripting
Not sure why this thread was closed without any explanation, but you can do what you're asking with sed 's/]*$//g' < sourceFile > destFile (1 Reply)
Discussion started by: oombera
1 Replies