A few years Ago the user radoulov posted a fancy solution for a problem, which was about finding common lines (gene variation names) between multiple samples (files). The code was:
The problem now is that I want to find intersectons of lines between 3, 4 and 5 files, but the program is only showing the results for 3 files.
I'm very newbie at AWK so help me please to modify this code to get my solution.
Thank yo in advance.
Last edited by joeyg; 01-08-2013 at 01:44 PM..
Reason: Corrected title spelling
Hi,
I have one situation. I have some 6-7 no. of files in one directory & I have to extract all the lines which exist in all these files. means I need to extract all common lines from all these files & put them in a separate file.
Please help. I know it could be done with the help of... (11 Replies)
Hi.
If we have this file
A B C
7 8 9
1 2 10
and this other file
A C D F
7 9 2 3
9 2 3 4
The result i´m looking for is intersection with A B C D F
so the answer here will be (10 Replies)
Hey guys. I know pratically 0 about Linux, so could anyone please give me instructions on how to accomplish this ?
The distro is RedHat 4.1.2 and i need to find and replace a multiple lines string in several php files across subdirectories.
So lets say im at root/dir1/dir2/ , when i execute... (12 Replies)
I've been a Unix admin for nearly 30 years and never learned AWK. I've seen several similar posts here, but haven't been able to adapt the answers to my situation. AWK is so damn cryptic! ;)
I have a single file with ~900 lines (CSV list). Each line starts with an ID, but with different stuff... (6 Replies)
Hi,
I need help to find patterns that are common or matched in a specified column in multiple files.
File1.txt
ID1 555
ID23 8857
ID4 4454
ID05 555
File2.txt
ID74 4454
ID96 555
ID322 4454 (4 Replies)
Hi
I have a file like
1 2
1 2 3
1 5 6
11 12
10 2
7 5
17 12
I would like to have an output as
1 2 3 5 6 10 7
11 12 17
any help would be highly appreciated
Thanks (4 Replies)
I want to find common line in two files and replace the next line of first file with the next line of second file. (sed,awk,perl,bash any solution is welcomed ) Case Ignored. Multiple Occurrence of same line.
File 1:
hgacdavd
sndm,ACNMSDC
msgid "Rome"
msgstr ""
kgcksdcgfkdsb... (4 Replies)
Hi! I would like to comm -12 with one file and with all of the files in another folder that has a 100 files or more (that file is not in that folder) to find common text lines. I would like to have each case that they have common lines to be written to a different output file and the names of the... (6 Replies)
Could it be possible to find common lines between all of the files in one folder? Just like comm -12 . So all of the files two at a time. I would like all of the outcomes to be written to a different files, and the file names could be simply numbers - 1 , 2 , 3 etc. All of the file names contain... (19 Replies)
Discussion started by: Eve
19 Replies
LEARN ABOUT FREEBSD
mixer
MIXER(8) BSD System Manager's Manual MIXER(8)NAME
mixer -- set/display soundcard mixer values
SYNOPSIS
mixer [-f device] [-s | -S] [dev [[+|-]lvol[:[+|-]rvol]]] ...
mixer [-f device] [-s | -S] recsrc ...
mixer [-f device] [-s | -S] {^|+|-|=}rec rdev ...
DESCRIPTION
The mixer utility is used to set and display soundcard mixer device levels. It may also be used to start and stop recording from the sound-
card. The list of mixer devices that may be modified are:
vol, bass, treble, synth, pcm, speaker, line, mic, cd, mix, pcm2, rec, igain, ogain, line1, line2, line3, dig1, dig2, dig3, phin,
phout, video, radio, and monitor.
Not all mixer devices are available.
Without any arguments, mixer displays the current settings for all supported devices, followed by information about the current recording
input devices. If the dev argument is specified, mixer displays only the value for that dev.
To modify the mixer value dev, the optional left and right channel settings of lvol[:rvol] may be specified. The lvol and rvol arguments may
be from 0 - 100. Omitting dev and including only the channel settings will change the main volume level.
If the left or right channel settings are prefixed with + or -, the value following will be used as a relative adjustment, modifying the cur-
rent settings by the amount specified.
If the -s flag is used, the current mixer values will be displayed in a format suitable for use as the command-line arguments to a future
invocation of mixer (as above).
The -S flag provides the above output without mixing field separators.
To change the recording device you use one of:
^rec toggles rdev of possible recording devices
+rec adds rdev to possible recording devices
-rec removes rdev from possible recording devices
=rec sets the recording device to rdev
The above commands work on an internal mask. After all the options have been parsed, it will set then read the mask from the sound card.
This will let you see EXACTLY what the soundcard is using for the recording device(s).
The option recsrc will display the current recording devices.
The option -f device will open device as the mixer device.
FILES
/dev/mixer the default mixer device
SEE ALSO cdcontrol(1), sound(4)HISTORY
The mixer utility first appeared in FreeBSD 2.0.5.
AUTHORS
Original source by Craig Metz <cmetz@thor.tjhsst.edu> and Hannu Savolainen. Mostly rewritten by John-Mark Gurney <jmg@FreeBSD.org>. This
manual page was written by Mike Pritchard <mpp@FreeBSD.org>.
BSD June 2, 2014 BSD