Search Results

Search: Posts Made By: Stinza
2,127
Posted By Stinza
Hi RudiC, I used you first sample code and...
Hi RudiC,

I used you first sample code and it seems to only work with files with fewer lines, i have a file which consists of 40+ lines and it doesn't seem to work. Is there a way to resolve this?...
2,127
Posted By Stinza
Hi Don, Apologies for this, my requirements...
Hi Don,

Apologies for this, my requirements are always changing and i've been trying to learn and implement stuff at the same time so sorry if i haven't been clear enough.

It is Shell based so...
2,127
Posted By Stinza
Hi so now i have another requirement. Say i...
Hi so now i have another requirement.

Say i have a variable
ABC=CHICKEN

Line 1
Line 2
Line 3
ABC|12|4|2
ABC|12|2|BOO


I want to replace Boo with chicken.

awk...
2,127
Posted By Stinza
Thanks Don i used the second code and it worked...
Thanks Don i used the second code and it worked perfectly!
2,127
Posted By Stinza
Replace a number in the last line of a delimited file.
Hi all,

I am fairly new to UNIX and I was wondering if you could provide me with some help! Lets say i have a file as below :

Line 1
Line 2
Line 3
ABC|12|4|2

Now the number 4 in...
Showing results 1 to 5 of 5

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