Questions tagged [command-line-tool]

A command line tool is a console based application either run in MS-DOS or a terminal (Command prompt for windows, and terminal for linux and mac)

339 questions
5
votes
0 answers

building for iOS Simulator, but linking against dylib built for MacOSX file

This is a strange problem. My XCode version is 6.3.2. After I installed the command line tools, I could not compile any more. Any compilation that need to link with a dylib will cause the error like: ld: building for iOS Simulator, but linking…
Holmes Conan
  • 1,208
  • 12
  • 21
5
votes
0 answers

Add xcode-select to PATH vs. Install Xcode Command Line Tools?

Now with Xcode 4.5, is it OK to just add the following line to my ~/.bash_profile rather than installing the Xcode Command Line Tools? export PATH="$PATH:`xcode-select -print-path`/usr/bin:`xcode-select…
ma11hew28
  • 121,420
  • 116
  • 450
  • 651
4
votes
2 answers

Converting xlsx to xls using Microsoft Office Compitablity Pack's excelcnv

The internet says that you can convert xlsx files to xls files using Microsoft Office Compitablity like this: "C:\Program Files\Microsoft Office\Office14\excelcnv" -nme -oice D:\test\new.xlsx D:\test\old.xls However, this works backwards - it…
Idan Arye
  • 12,402
  • 5
  • 49
  • 68
4
votes
0 answers

Splitting an Avro file?

The Avro-Tools package provides an easy way to concatenate multiple avro files together, however there doesn't seem to be an easy way to split files. Does anyone know of a simple command-line tool that allows one to split an Avro file?
Ryan Stull
  • 1,056
  • 14
  • 35
4
votes
3 answers

How to use leaks command-line tool to find memory leaks?

leaks command-line tool will report the address of the leaked memory the size of the leak (in bytes) the contents of the leaked buffer like the following: Process: checker [84357] Path: /path/to/program Load Address: …
KIYZ
  • 412
  • 1
  • 5
  • 12
4
votes
1 answer

Cant install allennlp with pip on mac

I am trying to install allennlp on my mac. I have tried installing macOS headers which solved the missing headers problem but now i am experiencing new problems. The error when i run pip install allennlp: Running setup.py bdist_wheel for jsonnet…
4
votes
1 answer

Terminate subprocesses of macOS command line tool in Swift

I'm writing a macOS command line tool in swift which executes shell commands: let process = Process() process.launchPath = "/bin/sleep" process.arguments = ["100"] process.launch() process.waitUntilExit() However, if an interrupt (CTRL-C) or a…
YourMJK
  • 1,429
  • 1
  • 11
  • 22
4
votes
2 answers

Signing apk works from Android Studio but why the same keystore do not work on command line?

My key for signing Android app was generated using Android Studio. It is working fine when I try to generate signed APK from Android Studio. However the same key is not working when I try to sign using apksigner tool. Here is the command I am…
Nagarjun
  • 2,346
  • 19
  • 28
4
votes
1 answer

Can't add dynamic frameworks to Command Line Tool

Goals I added Command Line Tool target to an iOS app and linked with swift frameworks. (tested with Realm and SwiftyJSON) Expected Results Build Command Line tool with those libraries. Actual Results Xcode output: dyld: Library not loaded:…
Jauzee
  • 120
  • 2
  • 18
4
votes
1 answer

What is a headless command line application?

I read in another post that Node.js is a "headless command line application" how is this different from a regular command line tool/app like cp or git?
mbigras
  • 7,664
  • 11
  • 50
  • 111
4
votes
3 answers

Is there anyway (commandline tools) to calculate MD5 hash for .NEF (also .CR2, .TIFF) regardless any metadata?

Is there anyway (commandline tools) to calculate MD5 hash for .NEF (also .CR2, .TIFF) regardless any metadata, e.g. EXIF, IPTC, XMP and so on? The MD5 hash should be same once we update any metadata inside the image file. I searched for a while, the…
4
votes
3 answers

Xcode 6.1 Mac OS X new project for command line tool

I am following this iOS core data tutorial, Core Data Tutorial My Xcode version is 6.1 while the tutorial uses older one. When needs to create a new project for Mac command line, the tutorial says "change the type to “Core Data”", but in my Xcode,…
Rui Huang
  • 382
  • 1
  • 5
  • 18
4
votes
2 answers

How can I match multi-line patterns in the command line with perl-style regex?

I regularly use regex to transform text. To transform, giant text files from the command line, perl lets me do this: perl -pe < in.txt > out.txt But this is inherently on a line-by-line basis. Occasionally, I want to match on multi-line…
JnBrymn
  • 24,245
  • 28
  • 105
  • 147
4
votes
2 answers

Extract text between HTML tags

I have many HTML files from which I need to extract text. If it's all on one line, I can do that quite easily but if the tag wraps around or is on multiple lines I can't figure how to do this. Here's what I mean:
Some text…
Mr_Thomas
  • 857
  • 3
  • 19
  • 39
4
votes
2 answers

Command Line Tools for Xcode 4.2

Where can I download Command Line Tools for Xcode 4.2 (Snow Leopard)? It's not in https://developer.apple.com/downloads/index.action I need it to develop Titanium Android Module. Any ideas ?
enfix
  • 6,680
  • 12
  • 55
  • 80