Sponsored Content
Top Forums Shell Programming and Scripting Removing special characters - Control M Post 302621699 by vskr72 on Tuesday 10th of April 2012 11:58:31 PM
Old 04-11-2012
thank you all for your inputs
 

10 More Discussions You Might Find Interesting

1. Programming

Identifying and removing control characters in a file.

What is the best method to identify an remove control characters in a file. Would it be easier to do this in Unix or in C. (0 Replies)
Discussion started by: oracle8
0 Replies

2. Shell Programming and Scripting

Removing special characters in file

I have file special.txt with the following data. <header info> 123$ty5%98&0asd 1@356fgbv78 09*&^5jkns43( ...........some more rows. In my output file, I want to eliminate all the special characters in my file and I want all other data. need some help. (6 Replies)
Discussion started by: srivsn
6 Replies

3. Shell Programming and Scripting

removing special characters @ EOL

How to remove special chracters @ END OF EACH LINE in a file file1.txt: 0003073413^M 0003073351^M 0003073379^M 0003282724^M 0003323334^M 0003217159^M 0003102760^M 0002228911^M I used the below command but it is not working ? perl -pi -e 's/^M\/g' file1.txt (6 Replies)
Discussion started by: ali560045
6 Replies

4. AIX

Removing a filename which has special characters passed from a pipe with xargs

Hi, On AIX 5200-07-00 I have a find command as following to delete files from a certain location that are more than 7 days old. I am being told that I cannot use -exec option to delete files from these directories. Having said that I am more curious to know how this can be done. an sample... (3 Replies)
Discussion started by: jerardfjay
3 Replies

5. Solaris

removing special characters, white spaces from a field in a file

what my code is doing, it is executing a sql file and the resullset of the query is getting stored in the text file in a fixed format. for that fixed format i have used the following code:: Code: awk -F":"... (2 Replies)
Discussion started by: priyanka3006
2 Replies

6. Shell Programming and Scripting

Removing special characters

Dear Friends, I want to remove text between two patters. Problem is, it has random special characters like \ / | * ` ~ ! $ etc. These random special characters has no fixed length. But these special characters are appearing between a fixed pattern e.g. DM&^%#|#!\/?CT Expected output... (14 Replies)
Discussion started by: anushree.a
14 Replies

7. UNIX for Dummies Questions & Answers

awk for removing special characters and extra commas

Hi, I have a .csv file which as empty lines with comma and some special characters in 3rd column as below. Source data 1,2,3,4,%#,6 ,,,,,, 1,2,3,4,5,6 Target Data 1,2,3,4,5,6I need to remove blank lines and special charcters I am trying to get this using the below awk awk -F","... (2 Replies)
Discussion started by: shruthidwh
2 Replies

8. UNIX for Dummies Questions & Answers

[Solved] Removing control-m characters from shell script

Hi All, I need to remove control m character from a file. Steps which i am doing in shell script are: 1) We are comparing the header of the file to the database table header Here the file header has control-m characters. How do i remove it. Please help. Below are the steps i am using,... (12 Replies)
Discussion started by: abhi_123
12 Replies

9. Shell Programming and Scripting

Removing blank/white spaces and special characters

Hello All , 1. I am trying to do a task where I need to remove Blank spaces from my file , I am usingawk '{$1=$1}{print}' file>file1Input :- ;05/12/1990 ;31/03/2014 ; Output:- ;05/12/1990 ;31/03/2014 ;This command is not removing all spaces from... (6 Replies)
Discussion started by: himanshu sood
6 Replies

10. Red Hat

Special control characters in file

Hi Guys, We receive some huge files on to Linux server. Source system use FTP mechanism to transfer these files on our server. Occasionally one record is getting corrupted while transfer, some control characters are injecting into the file. How to fix this issue ? please advice ? Sample... (2 Replies)
Discussion started by: srikanth38
2 Replies
MIXERCTL(1)						    BSD General Commands Manual 					       MIXERCTL(1)

NAME
mixerctl -- control audio mixing SYNOPSIS
mixerctl [-d file] [-n] [-v] -a mixerctl [-d file] [-n] [-v] name ... mixerctl [-d file] [-n] -w name=value ... mixerctl [-d file] [-n] -w name++ ... mixerctl [-d file] [-n] -w name-- ... mixerctl [-d file] [-n] -w name+=value ... mixerctl [-d file] [-n] -w name-=value ... DESCRIPTION
The mixerctl command displays or sets various audio system mixing variables. If a list of variables is present on the command line, then mixerctl prints the current value of those variables for the specified device. If the -a flag is specified, all variables for the device are printed. If the -w flag is specified, mixerctl attempts to set the specified variables to the given values. The -d flag can be used to give an alternative mixer device. The default is /dev/mixer. The -n flag suppresses printing of the variable name. The -v flag shows the possible values of enumeration and set valued variables. Enumerated values are shown in brackets (``[]'') and set val- ues are shown in curly braces (``{}''). The exact set of controls that can be manipulated depends on the mixer. The general format (in both getting and setting a value) is class.name = value class can have values like inputs or outputs, indicating that the control affects the input or output of the mixer, respectively. name indi- cates what part of the mixer the control affects. Continuous mixer values, e.g., volume, have numeric values in the range 0-255. If value can be set for each channel independently, the values are printed separated by commas. Discrete mixer values, e.g., the recording source, have symbolic names. Depending on the mixer it may either be an enumeration or a set. The suffixes ++ and -- can be used to step through the values of a mixer control. For numeric controls, these operators increase or decrease, respectively, the value by an amount (the delta) suitable to make the control assume the next possible value. For binary controls, these operators toggle between on and off. The operators += and -= change the value of a mixer control by the indicated number of steps. ENVIRONMENT
MIXERDEVICE the mixer device to use. FILES
/dev/mixer mixer audio device /etc/mixerctl.conf mixer configuration file EXAMPLES
The command mixerctl -a -v can produce inputs.mic=0,0 volume inputs.mic.mute=off [ off on ] inputs.cd=220,220 volume inputs.cd.mute=off [ off on ] inputs.dac=220,220 volume inputs.dac.mute=off [ off on ] record.record=220,220 volume record.record.source=mic [ mic cd dac ] monitor.monitor=0 volume COMPATIBILITY
The old -f flag is still supported. This support will be removed eventually. SEE ALSO
audioctl(1), audio(4), mixerctl.conf(5), sysctl(8) HISTORY
The mixerctl command first appeared in NetBSD 1.3. BSD
August 15, 2008 BSD
All times are GMT -4. The time now is 09:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy