I'm using sed for Windows at a WinNT command prompt. Wrapping the expressions with single quotes doesn't work. I have to use double quotes. Is this the norm for the Windows implementation? (2 Replies)
I have a csv file with lines like the followings
123456,"ABC CO., LTD","XXX"
789012,"DEF LIMITED", "XXX"
before I bcp this file to database, the comma in "CO.," need to be removed first.
My script is cat <filename> | sed 's/"CO.,"/"CO."/g'
but it doesn't work. Can anyone here able to... (2 Replies)
I have the following line of code:
sed -i "/MatchText/ s/${tgrepLine}/${tNewLine}/" filename.outputfilename.output contains this:
blablabla
PATH=".:/home/root/bin/:/usr/local/bin/"
blablablaVariable ${tgrepLine} contains:
PATH=".:/home/root/bin/:/usr/local/bin/"
Variable ${tNewLine}... (3 Replies)
I have not seen anything yet in your forum to answer this problem.
Here is my sed command.
I want to change
Build Apache module" off
to
Build Apache module" on
This is what I am trying.
sed "s_Build Apache module\" off_Build Apache module\" on_" /usr/ports/lang/php5/Makefile... (9 Replies)
Hi,
I have data as
"01/22/97-"aaaaaaaaaaaaaaaaa""aaa""aabbbbbbbbcccccc""zbcd""dddddddddeeeeeeeeefffffff"
I want to remove only the Consequitive double quotes and not the one which occurs single.
My O/P must be ... (2 Replies)
Hello experts,
I need to validate a csv file which contains data like this:
Sample.csv
"ABCD","I",23,0,9,,"23/12/2012","OK","Street,State, 91135",0
"ABCD","I",23,0,9,,"23/12/2012","OK","Street,State, 91135",0
I just need to check if all the records contain exactly the number of... (5 Replies)
Hi All,
I have been trying to replace a string using the sed command
string value contain blackslash and double quotes. I am not a expert writer of unix script but do try not to ask question. I have almost given up. Hope you all can give me some suggestion
I want to replace a place string... (6 Replies)
Hi All,
I'm unable to load the data using sql loader where there are double quotes within the double quotes As these are optionally enclosed by double quotes.
Sample Data :
"221100",138.00,"D","0019/1477","44012075","49938","49938/15043000","Television - 22" Refurbished - Airwave","Supply... (6 Replies)
I need to replace consecutive double quotes in a csv file, the data in the file is enclosed in double quotes but there are some places where the quotes are repeating
Example is below
Incoming data is :
"Pacific Region"|"PNG"|"Jimmy""|""|
Need output as:
"Pacific... (10 Replies)
Discussion started by: abhilashnair
10 Replies
LEARN ABOUT DEBIAN
sid2wav
sid2wav(1) User Commands sid2wav(1)NAME
sid2wav - output wav files out of sid files
SYNOPSIS
sid2wav [-commands] <datafile>|- [outputfile]
DESCRIPTION
Sid2wav is a synthetic waveform generator from sid files, named after the Sound Interface Chip found in Commodore 64 personal computers.
With this tool, one can 'convert' sid files to wav ones that popular music players like XMMS can play. Note that you don't have to convert
sid files just to listen them, sidplay can play it for you just as it would sound on a real C64. Also, XMMS has an input plugin to play sid
files directly. The use is that you may convert sid tunes to wav and later to any compressed format like Ogg or MP3 for users lacking sid-
play. Other use would be to convert files to wav for audio CD creation.
COMMANDS -h gives help on usage.
-f<num>
set frequency in Hz (default: 44100).
-16 16-bit (default: 8-bit)
-s stereo (default: mono).
-ss enable stereo surround.
-u au output (8000Hz mono 8-bit u-law).
-o<num>
set song number (default: preset).
-a improve PlaySID compatibility (not recommended).
-a2 transparent ROM memory mode (overrides -a).
-n enable NTSC-clock speed for VBI tunes (not recommended).
-nf no SID filter emulation.
-ns MOS 8580 waveforms (default: MOS 6581).
-m<num>
mute voices out of 1,2,3,4 (default: none). Example: -m13 (voices 1 and 3 off).
-t<num>
set seconds to play (default: 60).
-b<num>
skip first <num> seconds into the song (default: 0).
-fin<num>
fade-in time in seconds (default: 0).
-fout<num>
fade-out time in seconds (default: 2).
SEE ALSO sidplay(1), xmms (1).
AUTHORS
Michael Schwendt <sidplay@geocities.com>
Adam Lorentzon <d93-alo@nada.kth.se>
This manpage was written for the Debian GNU/Linux system by Laszlo 'GCS' Boszormenyi <gcs@lsc.hu> (but may be used by others).
Sidplay May, 2004 sid2wav(1)