Search Results

Search: Posts Made By: vinithepoo
19,545
Posted By vinithepoo
Grep in delimited file
Here is my file : (pipe delimited file)

abc|abc|11112|ffff|3333|oo
abc|abc|11112|ffff|3333|oo
abc|11112|ffff|2222|oo
abc|abc|11112|ffff|3333|oo
abc|22222|ffff|1111|oo

I need 2 things : ...
10,096
Posted By vinithepoo
Read the entire output fired by ps command
Actually I want to display the entire output fired by ps command. My output gets trucated after 80 chars.
Thus, i am not able to see the entire command running when i give a ps -eaf ....

Does...
1,588
Posted By vinithepoo
Interesting .. How do I handle this in Unix / Perl ?
This is how my input file is ( comma sepertated ):-

L,id,name,address,city,measure_id_1,measrure_id_qty_1,measure_id_2,measure_id_qty_2
D,123,vvc,wwwew wdwe,hou,zip,77057,tel,832...
6,951
Posted By vinithepoo
yes .. u r correct .. be sure that the file which...
yes .. u r correct .. be sure that the file which u r checking for, is stable. i.e if u r getting the file at runtime then the condition " if [ -a $filename ] " will be successful even when the file...
1,701
Posted By vinithepoo
sounds wiered .. but it works .. gave output as...
sounds wiered .. but it works .. gave output as "Trigger the next script..."

just bring down 'then' :) ..

export return_code="$?"
if [ $? -gt 4 ]
then
echo "load_shaw.sas failed."
exit...
Showing results 1 to 5 of 5

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