Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- awk '/^ [0-9]/{printf $0 ;next;}1' *filename*
- #!/bin/bash
- #
- for FILE in $( ls *.raw )
- do
- awk '/^ [0-9]/{printf $0 ;next;}1' FILE > temp
- done
- (awk '/^ [0-9]/{l1=$0;getline;l2=(l1 $0);getline; print l2 $0}' < input_file) > output_file
- (awk '/^ [0-9]/{l1=$0;getline;l2=(l1 $0);getline; print l2 $0}' < input_file) > output_file
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement