Search Results

Search: Posts Made By: Tasha_T
2,141
Posted By Tasha_T
Sorry, both of them didn't work... below is...
Sorry, both of them didn't work...
below is the script i wrote which is workign fine till breakign the code
********************
for i in `cat redirect_list`
do
source=`echo "$i" | cut -d '|'...
2,141
Posted By Tasha_T
find a string in a file and add some text after that file
Hi
Could you please help me out by solving teh below problem ?
I have a file with as below
source1|target1|yes
source2|target2|no

source1 is file in which i have to place some code under the...
12,075
Posted By Tasha_T
Problem resolved...
Hi Thank you !!

The problem is solved..
I missed type the word "source" that is the reason it was giving a blank o/p
Now it is working fine..
source=`echo "$i" | cut -d '|' -f1`

Thank you...
12,075
Posted By Tasha_T
Thank you , but still the problem is not solved
When i used this stmt,
`echo "$i" | cut -d '|' -f1`
the output is blank...

The other one is giving me an error.

Could you all please give me any other code if possible ?

Thanks in...
12,075
Posted By Tasha_T
How to cut a line with the delimeter "pipe symbol"
Hi

I am unable to cut a line with the delimeter as a pipe symbol "|"
COuld you please help me ?
below is the code i am using right now
************
for i in `cat xyz`
do
source=`echo $i |...
Showing results 1 to 5 of 5

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