Search Results

Search: Posts Made By: aks__
1,707
Posted By aks__
thanks. yes, replacing it with an interactive...
thanks.
yes, replacing it with an interactive perl script has solved the issue.
the other suggestion would certainly help in a broader context.
1,707
Posted By aks__
how can the search and replace can be done interactively
hi,

To search and replace a string in multiple files i am using following command:
find . -name '*.txt' -print0 |xargs -0 perl -pi -e 's/find_string/replace_string/g'

I want to be prompted...
4,891
Posted By aks__
yeah, now i am able to capture the output in a...
yeah, now i am able to capture the output in a file.

script -q -c "mamalistenc -m lbm -tport mamaqa -S MLALERTS -s KANA wFinancialStatus" out.txt >/dev/null

thanks for every help :)
4,891
Posted By aks__
thanks vbe for pointing on tee. well, its...
thanks vbe for pointing on tee.

well, its working to an extent, and only when I am invoking the command through a shell script like ./env_conf.sh |tee out.txt

Still wondering whats wrong with...
4,891
Posted By aks__
not able to capture STDOUT
I am using a third party API to get some real time feed. When I run the command it shows the results properly:

etd@mhs-apps5009 $ mamalistenc -m lbm -tport mamaqa -S MLALERTS -s KANA...
Showing results 1 to 5 of 5

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