Hi,
I know removing whitespaces I can found so many threads to read how it works and i did it, but my problem isn't solved...
I have in my script a variable $1 which can contains a text like " Channel ".
No I want to check if $1 contains the word Channel, but I don't know how many... (4 Replies)
I'm trying to remove the whitespace at the end of each line of a text file in ksh.
Im using
sed s/ $//g' file1.txt > file2.txt
It's not working. Any clues? (3 Replies)
I combined 2 files using the paste command. It gave me something like this:
123445 ,AABBNN
22344 ,BBVVMM
I want to remove the whitespace between the end of string 1 and the comma (there is more blank space than my post is showing). Would I... (2 Replies)
I have the following line:
4/23/2010 0:00:38.000: Copying $$3MSYDDC02$I would like to use sed (or similiar) to remove everthing between and including $ that appears in the line so it ends up like this.
4/23/2010 0:00:38.000: Copying 3MSYDDC02I have been trying these but i'm really just... (5 Replies)
Hey folks
I have a big file that contains junk data between the tags <point> and </point> and I need to delete it (including `<point>' and `</point>').
i.e.
a = 1
<point>
123123
2342352
234231
234256
</point>
print a
needs to become
a = 1
print a
I'm certain that this is a... (10 Replies)
I'd like to remove (do a pattern or precise replacement - this I can handle in SED using Regex )
---AFTER THE 1ST Occurrence ( i.e. on the 2nd occurrence - from the 2nd to fourth occurance ) of a specific string : type 1
-- After the 1st occurrence of 1 string1 till the 1st occurrence of... (4 Replies)
Below am trying to separate FA-7A:1, In output file it should display 7A 1
Command am using
Gives same output as below format:
22B7 10000000c9720873 0
22B7 10000000c95d5d8b 0
22BB 10000000c97843a2 0
22BB 10000000c975adbd 0
Not showing FA ports as required format... (5 Replies)
Hi again
I have an xml file and want to remove the leading white space as it causes me issues later in my script
I see sed is possible but cant seem to get it to work
I tried
sed 's/^ *//' file.xml
output
<xn:VsDataContainer id="1U104799" modifier="update">
... (10 Replies)
Hi
I use sed comnand to remove occurance of one workd from a line.
However I need to removed occurance of dufferent words in ne line.
Original-1 Hi this is the END of my begining
Comand sed s/"END"/"start"/g
Output-1 Hi this is the start of my beginig
But I have more... (9 Replies)
Hi,
Need help. This seems simple but I tried many things but failed to get what I wanted. Below is the input file:
... (7 Replies)
Discussion started by: bunny_merah19
7 Replies
LEARN ABOUT CENTOS
afinitfileformat
AFINITFILEFORMAT(3)AFINITFILEFORMAT(3)NAME
afInitFileFormat - initialize file format of an audio file setup
SYNOPSIS
#include <audiofile.h>
void afInitFileFormat(AFfilesetup setup, int fileFormat);
PARAMETERS
setup is a valid file setup created by afNewFileSetup(3).
fileFormat is an integer constant specifying a file format.
DESCRIPTION
Given an AFfilesetup structure created with afNewFileSetup(3), afInitFileFormat initializes the file format to that specified by
fileFormat.
The following file formats are currently supported:
AF_FILE_RAWDATA
raw audio data
AF_FILE_AIFF
Audio Interchange File Format
AF_FILE_AIFFC
Audio Interchange File Format AIFF-C
AF_FILE_NEXTSND
NeXT .snd/Sun .au
AF_FILE_WAVE
Microsoft RIFF WAVE
AF_FILE_BICSF
Berkeley/IRCAM/CARL Sound File
AF_FILE_AVR
Audio Visual Research
AF_FILE_IFF_8SVX
Amiga IFF/8SVX
AF_FILE_SAMPLEVISION
Sample Vision
AF_FILE_VOC
Creative Voice File
AF_FILE_NIST_SPHERE
NIST SPHERE
AF_FILE_CAF
Core Audio Format
ERRORS
afInitFileFormat can produce the following errors:
AF_BAD_FILESETUP
setup represents an invalid file setup.
AF_BAD_FILEFMT
fileFormat represents an unknown file format.
AF_BAD_NOT_IMPLEMENTED
fileFormat represents a file format which is not currently implemented.
SEE ALSO afNewFileSetup(3)AUTHOR
Michael Pruett <michael@68k.org>
Audio File Library 0.3.6 03/06/2013 AFINITFILEFORMAT(3)