data_transformation
Table of Contents
If you want to send us your comments, please do so. Thanks
More on comments
Data transformation
Command | EXplanation | Remarks |
---|---|---|
cat file.txt | xargs -n 4 echo | Concatenate every 4 lines on one line | |
for i in `cat dates.txt`; do \ month=`echo $i | cut -d "/" -f 1`; \ day=`echo $i | cut -d "/" -f 2`; \ year=`echo $i | cut -d "/" -f 3`; \ echo "$day-$month-$year" >> dates2.txt; \ done | dates.txt has on each line a date in the format month/day/year |
HTML to text
- html2text - an advanced HTML-to-text converter
cat index.html | w3m -dump -T text/html > index.txt
Display data
Graphs
trend . Best is to use a FIFO
This example does not use a FIFO
(while true; do ps -A | wc -l; sleep 1; done) | trend - 60x24
Main subjects on this wiki: Linux, Debian, HTML, Microcontrollers, Privacy
RSS
Disclaimer
Privacy statement
Bugs statement
Cookies
Copyright © : 2014 - 2024 Webevaluation.nl and the authors
Changes reserved.
data_transformation.txt · Last modified: 12-07-2021 12:07 by wim