Search Results

Search: Posts Made By: Shawn, Lee
2,227
Posted By methyl
If this application has a keyboard stop command,...
If this application has a keyboard stop command, you could try typeahead:
The "cat -v" command demonstrates that the output from "top" contains all sorts of screen control characters.
(sleep 1;echo...
2,227
Posted By ahamed101
May be you need this? top -n 1 > top.out ...
May be you need this?


top -n 1 > top.out


--ahamed
2,227
Posted By methyl
Yes. Also "kill %1" is a syntax error. Please...
Yes. Also "kill %1" is a syntax error.
Please post your Operating System and version and if it didn't come with "top", where you got "top" from.
There are many and various versions of "top" but...
2,227
Posted By Corona688
top and other interactive commands like it are...
top and other interactive commands like it are prone to create outputs full of escape sequences that are difficult to view without a terminal, no matter how they're captured.

top itself can do...
1,974
Posted By ygemici
# ./justdoit_sp infile ...
# ./justdoit_sp infile
2|01|2059140001|34232883774|504106542|2733|2127292||55197897292|||||177011612201|87829918247|2011112
...
1,974
Posted By jayan_jay
$ split -b 100 infile ; cat xa* Then remove...
$ split -b 100 infile ; cat xa*

Then remove the temporarily created files ..
1,974
Posted By ahamed101
Try this... awk -F'|'...
Try this...

awk -F'|' '{for(i=1;i<=NF;i++){s+=length($i)+1;if(s<=100){printf $i OFS}else{print $i OFS;s=0}}printf"\n"}'
OFS='|' input_file


--ahamed
Showing results 1 to 7 of 7

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