Hi all,
I want to run my project in debug mode from command line, not from visual studio (vs is open)
Is there any parameter to add to the command?
Thanks in advance!
Why did DOS/Windows and Mac decide to use \r\n and \r for line ending instead of \n? Was it just a result of trying to be "different" from Unix?
And now that Mac OS X is Unix (-like), did Apple switch to \n from \r?
I'm writing a shell for a project of mine, which by design parses commands that looks like this:
COMMAND_NAME ARG1="Long Value" ARG2=123 [email protected]
My problem is that Python's command line parsing libraries (getopt and optparse) forces me to use '-' or '--' in front of the arguments. This behavior doesn't match my requirements.
Any ideas how can this be solved? Any existing library for this?
I know of an Eclipse feature to show revision information (gradual coloring, more info like revisionnumber, date and author on mouseover) for the last changes in a line in the linenumbers-view.
Does anyone know how to activate this feature for a file, or even better, by default? I accidently hit some shortcut lately which made it show in one file, it does not show up in the others, though.
Hi,
I am trying to dynamically create eclipse workspace through the command line to add in to automation. I want these workspaces to all share the same main project from a main workspace.
Does anyone know if this is possible? If so, can you help me?
Thank you!
I'm trying to find a way to use a command line nodejs application that I created on a computer without node.js installed. In other words how to package my application with node.js inside, in order to avoid the users to have node.js already installed.
The tipical use case is: I run the application and the application works using the node core that is provide with the application (or the application checks if there is node.js installed, and if not it donwload and install it automatically).
Do you have any idea?
Hi there,
I want to compress a file using command line. I m writting :
C: compact /c aa.xml
return successful message but i cant see any zip file in C folder. Where is the problem?
Thanks for your helps..
I want to write a command line utility that can be used to synchronize the execution off programs in different consoles.
Console A:
$ first_program && semaphore -signal
Console B:
$ semaphore -wait && second_program
The first program takes a long take to complete. The second program can only start when the first program has finished.
Which synchronization object do I need to implement this?
I have a Perl script that calls aspnet_compiler.exe to compile a large ASP.NET website. The problem is that it takes very long to run. Is there any way to compile just a single .aspx file from the command line? (I think that would suit the needs of my script) It seems that all aspnet_compiler.exe can do is compile at a directory level.
I am developing a console application. I need to emulate the way how the command line utility behaves when the F7 button is pressed, like shown below:
Is it possible in C# 2008? If not, is there any workaround available?
Any help much appreciated.
Hello
I'm doing batch-testing on our win32 c++ programs. Some of them crash. What's the best way to catch those crash from the command line and report it?
thanks
How would one display what line number caused the error
and is this even possible with the way that .net compiles its exes?
If not is there an automated way for exception.message to display the sub that crapped out?
try
{
int x = textbox1.text;
}
catch(exception ex)
{
messagebox.show(ex.message);
}
Android is an open source operating system that is modified by cell phone vendors (HTC, Motorola, etc.). Modifications include the user interface, drivers, and other proprietary extensions.
Traditionally, product lines have been a suite of products or services that share a core set of functionality and are modified for different domains and markets.
Does this still qualify as a product line?
Are there command-line tools for XML digital signing?
I have found one here:
http://www.codeproject.com/KB/security/xmldsiglic.aspx
but it needs .NET Framework and i would prefer it to work without .NET
So I have to send a java project to someone outside our company who has no experience with java and they need to compile it. Is there an easy way to do it on the windows command line that does not require writing out lists of the files?
Personally I think javac should be smart enough to handle
javac *
when in the folder just under the root of the package hierarchy. Is there anything in this ballpark?
In the middle of a scrip, I want to check if a given flag was passed on the command line. The following does what I want but seems ugly:
if echo $* | grep -e "--flag" -q
then
echo ">>>> Running with flag"
else
echo ">>>> Running without flag"
fi
Is there a better way?
Note: I explicitly don't want to list all the flags in a switch/getopt. (And BTW the bodies of the if just set a set of vars)
How to pass variables to gnu makefile from command line arguments? In other words I want to pass some arguments which will eventually become variables in makefile.
I have a website say www.mywebsite.com/demo . When ever if anyone requests this site, i want to navigate to another website www.myanotherwebsite.com . I know that this can be done in IIS by using the HTTP Redirect feature. But since i want to do this for different websites, I would like to write a bat file which would run the command to set the redirect url for a website. Can anyone please help me how to set the redirection URL through command line?
What is the correct way to read Unicode files line by line in C++?
I am trying to read a file saved as Unicode (LE) by Windows Notepad.
Suppose the file contains simply the characters A and B on separate lines.
In reading the file byte by byte,
I see the following byte sequence (hex) :
FE FF 41 00 0D 00 0A 00 42 00 0D 00 0A 00
So 2 byte BOM, 2 byte 'A', 2byte CR , 2byte LF, 2 byte 'B', 2 byte CR, 2 byte LF .
I tried reading the text file using the following code:
std::wifstream file("test.txt");
file.seekg(2); // skip BOM
std::wstring A_line;
std::wstring B_line;
getline(file,A_line); // I get "A"
getline(file,B_line); // I get "\0B"
I get the same results using operator instead of getline
file >> A_line;
file >> B_line;
It appears that the single byte CR character is
is being consumed only as the single byte.
or CR NULL LF is being consumed but not the high byte NULL.
I would expect wifstream in text mode would read the 2byte CR and 2byte LF.
What am I doing wrong?
It does not seem right that one should have to read a text file
byte by byte in binary mode just to parse the new lines.
Hard-to-read-line
@daily export sunshine="~/logs/Sunshine-`date '+\%F'`" && export sunshineUrl="http://www.sunshine.net/main/search_results.asp?currency_id=1&min_price=&max_price=50000&country_id=241®ion_id=&Submit=Search" && mkdir -p $sunshine && cd $sunshine && wget --mirror -l 1 $sunshineUrl
Which mark do I need to have it on many lines?
@daily <SOME MARK HERE>
export sunshine="~/logs/Sunshine-`date '+\%F'`" && <SOME MARK HERE>
export sunshineUrl="http://www.sunshine.net/main/search_results.asp?currency_id=1&min_price=&max_price=50000&country_id=241®ion_id=&Submit=Search" && <SOME MARK HERE>
mkdir -p $sunshine && <SOME MARK HERE>
cd $sunshine && wget --mirror -l 1 $sunshineUrl
No success by appending \, //, \n or /n.
My CVS-fu is not very strong anymore (after years of SVN'ing and now Mercurial'ing). I'm trying to do a diff between two revisions of the HEAD branch (everything is in the HEAD anyway).
I received an IDE already set up to use a :pserver:myname@cvsserver:port/cvs/project CVS. I'm on Windows XP. I do not want to use the IDE (the goal here is to learn CVS a bit more).
Apparently I cannot login using SSH to the CVS server.
How can I run a remote CVS diff between two HEAD revs using the command line?
P.S: I am new here, mod me up so I can comment etc. :)
ok folks, heres my dilemma i want to make a chat program that uses sms as its base engine.. to do this i need to communicate with my gsm phone via bluetooth attached to com 7 on my computer.. i can do this fine using hyperterminal, tera term etc. but to hav an un-obtrusive, friendly interface i need a command line tool to send AT commands, (and receive responses) to/from my mobile phone through my com port.. i have been searching for days to no avail.. please help