Sponsored Content
Full Discussion: Combine incrimental line
Top Forums Shell Programming and Scripting Combine incrimental line Post 303005184 by Scott on Saturday 14th of October 2017 10:02:56 PM
Old 10-14-2017
Just for understanding, do the bits in brackets in the desired output ([0:3], for example) represent the minimum and maximum values found in the input (e.g. read[0] ... read[1] ... ... read[3]), or what?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Combine reports and append a line between each

I am new to Unix and have tried to write a ksh script to do the following without success: I have several reports in a directory (report1, report2, report3, etc). I would like to combine all of these reports into one file (REPORTS). I would like to append *** End of Report *** to each report so... (2 Replies)
Discussion started by: ldevito1
2 Replies

2. Shell Programming and Scripting

Combine output on same line

I am trying to get some data from a file and print it on the same line. I have a script that gets the date/time and calculates a DB query call time and sends to a file. I need to take this file and send it in a xcel like format with multiple data columns. example output file (fndbq.out) ... (3 Replies)
Discussion started by: theninja
3 Replies

3. Shell Programming and Scripting

How to combine text data into one line?

The following input needs to be manipulated as follows: INPUT from file or results of command: ============start: Medium identifier : a45c0213:47eb5485:0aec:0321 Medium label : SQL Disk_11516 Location : Protected : None ... (2 Replies)
Discussion started by: rcky_mntere
2 Replies

4. UNIX for Dummies Questions & Answers

combine files line by line

Hi all, I once knew of a simple unix command to do this, but I can't remember it and I can't find it by searching. I have two files. ### FILE A #### A1 A2 A3 A4 A5 ### FILE B #### B1 B2 B3 B4 B5 (2 Replies)
Discussion started by: Digby
2 Replies

5. UNIX for Dummies Questions & Answers

What is the command use to combine line using sed

Hi all, What is the sed command use to combine line? Example: Below is an output after extracted from few commands aaa bbb ccc ddd eee fff ggg and i would like to combine all the line as shown below, aaa,bbb,ccc,ddd,eee,fff (5 Replies)
Discussion started by: 793589
5 Replies

6. Shell Programming and Scripting

Combine common line from 2 Huge files

Hi, I am having 2 huge files having line count more than 10million. The files look like: File 1 45905099 2059 942961505 3007 8450875165 7007 615565331 3015 9415586035 9012 9871573 5367 4415655 4011 44415539519 5361 3250659295 4001 5950718618 9367 File 2 44415539519 TQ03... (2 Replies)
Discussion started by: rochitsharma
2 Replies

7. Shell Programming and Scripting

Combine line before the pattern

Hi, I am not very familiar with sed and awk and i have a huge file to process which is impossible to do manually. I want to print out beginning from "Network" until end of line only (excluding the Version). AND. the decription to be all in one line. File: Version: 2.0 Network: xxx... (9 Replies)
Discussion started by: The One
9 Replies

8. Shell Programming and Scripting

Combine 2 line with space issue

Hello all, i am new to linux , and please need your help and suggestion on.... when vi 1.txt :set list, it looks like $ is displaying the end of line Filter: vlan1-BUM-1M $ BUM-1M 0 ... (4 Replies)
Discussion started by: samoptimus
4 Replies

9. Shell Programming and Scripting

Combine multiline to one line till a blank line

Hello, I have a file as :- ABC DEF GHI JKL <BlankLine> MNO PQR STU VWX <BlankLine> YZA I need it as below:- ABCDEFGHIJKL; MNOPQRSTUVWX; (3 Replies)
Discussion started by: jassi10781
3 Replies

10. Shell Programming and Scripting

awk to combine lines from line with pattern match to a line that ends in a pattern

I am trying to combine lines with these conditions: 1. First line starts with text of "libname VALUE db2 datasrc" where VALUE can be any text. 2. If condition1 is met then continue to combine lines through a line that ends with a semicolon. 3. Ignore case when matching patterns and remove any... (5 Replies)
Discussion started by: Wes Kem
5 Replies
VBUF(1) 						      General Commands Manual							   VBUF(1)

NAME
vbuf - Virtual Ring Buffer shell interface SYNOPSIS
vbuf [options] DESCRIPTION
This manual page documents briefly the vbuf command. vbuf is a program to glue two programs (a producer and a consumer) together, one of which not being able to fulfil the other's constant data rate requirements. OPTIONS
-h Show short help message. --help Show long help message. -p, --progress Show progress status line. -q, --quiet Suppress progress status line. The default is to show the progress display. -s size, --size=size Set buffer size in bytes. Suffixes k, m, and g may be used. The actual size used will be rounded up for system mapping require- ments. The default is 1m, or 1048576 bytes. -t time, --time=seconds Set time in seconds between progress display refreshes. Fractions of a second may be used. Default is 1.500000 seconds. -b, --bits Set progress rate display units to bits per second. -B, --bytes Set progress rate display units to bytes per second. The default is bytes. -d, --decimal Set progress rate display base to decimal. The default is decimal. -x, --hexadecimal Set progress rate display base to hexadecimal. --octal Set progress rate display base to octal. -i file, --input=file Specify an input file to be opened and used instead of using stdin. -o file, --output=file Specify an output file to be opened and used instead of using stdout. -M file, --mapfile=file Specify a file which will be used for backing store for the virtual ring buffer. The allows using filesystem space in case swap space is full. -r bytes, --read-min=bytes Specify the minimum number of bytes to be requested by read. Reading will not happen unless at least this much buffer space is available. The default is 1. -R bytes, --read-max=bytes Specify the maximum number of bytes to be requested by read. Reading will not request more even if more buffer space is available. The default is the full buffer size. -w bytes, --write-min=bytes Specify the minumum number of bytes to be written. Writing will not be done unless at least this much data is available. Once end of file is reached on input, a smaller amount may be written. The default is 1. -W bytes, --write-max=bytes Specify the maximum number of bytes to be written. Writing will not write more each time even if more data is available in the buf- fer. The default is the full buffer size. AUTHOR
VRB and vbuf were written by Phil Howard <vrb@ipal.org>. This manual page was written by Szekelyi Szabolcs <cc@mail.3d.hu>, for the Debian project (but may be used by others). 2006 Sep 5 VBUF(1)
All times are GMT -4. The time now is 12:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy