Sponsored Content
Top Forums Shell Programming and Scripting Convert this Windows script so I can use it on Macbook Post 302693795 by Corona688 on Wednesday 29th of August 2012 05:40:04 PM
Old 08-29-2012
If you wrote it up in Microsoft Notepad, it will be full of carriage returns which will cause it to fail.

Code:
tr -d '\r' < wingarbage > fixedfile

This User Gave Thanks to Corona688 For This Post:
 

2 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

how to convert unix .ksh script to windows .batch script

I am using awk in my .ksh script but when I am trying to run in windows its not recognising awk part of the ksh script , even when I changed it to gawk it does not work, this is how my .ksh and .bat files look like. thanx. #!/bin/ksh egrep -v "Rpt 038|PM$|Parameters:|Begin |Date: |End... (1 Reply)
Discussion started by: 2.5lt V8
1 Replies

2. Shell Programming and Scripting

Trying to convert utf-8 to WINDOWS-1251

Hello all i have utf-8 file that i try to convert to WINDOWS-1251 on linux without any success the file name is utf-8 when i try to do : file -bi test.txt it gives me : text/plain; charset=utf-8 when i try to convert the file i do : /usr/bin/iconv -f UTF-8 -t WINDOWS-1251 test.txt >... (1 Reply)
Discussion started by: umen
1 Replies
pdb2mdb(1)						      General Commands Manual							pdb2mdb(1)

NAME
pdb2mdb - Program Database to Mono Debugging Symbol converter. SYNOPSIS
pdb2mdb pdb_file DESCRIPTION
This tool is used to convert debugging symbols generated by Microsoft's compilers into debugging symbols that can be consumed by Mono's runtime. Program Database files are files that end with the extension .pdb and are associated with a library or executable (a .dll or .exe file). This format was until recently not documented so Mono used its own file format for storing debugging information, the Mono debugging for- mat. Just like PDB files Mono Debugging information is stored in files that reside side-by-side with a program executable or a library. You can use the pdb2mdb tool to transform these PDB files into MDB files that Mono can then consume to debug programs or provide line-num- ber information for stack traces or exceptions. LICENSE
The pdb2mdb tool is released under the terms of the Microsoft Public License (MS-PL). JB Evain wrote the tool. The PDB reading support came from Microsoft Common Compiler Infrastructure. SEE ALSO
mono(1), mdb(1) WEB SITE
http://www.mono-project.com 23 April 2009 pdb2mdb(1)
All times are GMT -4. The time now is 07:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy