Search Results

Search: Posts Made By: zhynxn
5,850
Posted By zhynxn
how to delete record in file data with index in another file?
I want to deal with several data, i.e., data.*.txt with following structure
MSG|20010102|123 125 4562 409|SEND
MSG|20010102|120 230|SEND
MSG|20010102|120 204 5071|SEND
MSG|20010103|2 11 1098...
12,662
Posted By zhynxn
thank you for your remind. I realize it is shell...
thank you for your remind. I realize it is shell programming.
now i use the following command:

for filename in *
do
../out_function $filename > ../dst/$filename
done

Thanks a lot.
12,662
Posted By zhynxn
can I pass awk variable to system command?
I wanna use a system function to deal with several data. So I use awk variable FILENAME to transfer the file directory to system command, but it does not work.

I use a shell function...
Showing results 1 to 3 of 3

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