Sponsored Content
Top Forums Shell Programming and Scripting Script to run files with an app Post 302703381 by Suhas Kurse on Thursday 20th of September 2012 11:10:33 AM
Old 09-20-2012
I am getting the data I want

This what I want

Command QUERY filename

----output from above command---
filename is an index file (bit-mapped)
Dictionary segment not allocated
File can contain 62,914,560 records

your solution gives
QUERY "filename1
"
QUERY "filename2
"

---------- Post updated at 01:46 PM ---------- Previous update was at 01:42 PM ----------

I am not getting the solution.

This what I want

Command QUERY filename

----output from above command---
filename is an index file (bit-mapped)
Dictionary segment not allocated
File can contain 62,914,560 records

your solution gives
QUERY "filename1
"
QUERY "filename2
"

---------- Post updated 09-20-12 at 08:10 AM ---------- Previous update was 09-19-12 at 01:46 PM ----------

How do I rectify the error ?

The file exists.

bash-3.00$ echo `QUERY ` "ACTION"
usage: QUERY file ...
ACTION
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to run app in BSD under OS X

Hi, I have a problem running application in BSD in os x. I want to run a app called "iCab", so i type "./iCab"...it then gave me a load of "A^@A^@A^@A^@A^@A^@A^@A^@..." OS X is BSD, so this should mean that i can be able to use the terminal to launch stuff; right? and also, how can i... (2 Replies)
Discussion started by: ah54wxcr4
2 Replies

2. Shell Programming and Scripting

Script to do a function on all files in one run

Hello everybody I am trying to write a script in Cshell solaris 8 to read a number of files and do some commands on them (for example extracting some information) and send the results to one single file. I want to do that for all the files in one run. Could any body advise me on it. Thanks and... (5 Replies)
Discussion started by: Reza Nazarian
5 Replies

3. Shell Programming and Scripting

unable to run mono app using .sh script

I did a search for this problem but couldn't find any specific answers to my problem. We have a .NET application compiled in SharpDevelop for Mono which we want to execute with a .sh shell script on Ubuntu. When we execute the script nothing happens meaning the application's visual interface... (0 Replies)
Discussion started by: JacquesB
0 Replies

4. UNIX for Advanced & Expert Users

run win app on Linux -performance issue

We develop software for diagnostic tools for cars. we a use a portable PC(x86) runs Win98 to run our applications. Hence the working environment in the company is Windows, specifically we use BASIC to develop the GUI, communication functions, DLL, etc. and run them on the Win98 PC. We suggested... (1 Reply)
Discussion started by: raedbenz
1 Replies

5. Shell Programming and Scripting

perl script to check if empty files are created and delete them and run a shell script

I have a local linux machine in which the files are dumped by a remote ubuntu server. If the process in remote server has any problem then empty files are created in local machine. Is there any way using perl script to check if the empty files are being created and delete them and then run a shell... (2 Replies)
Discussion started by: hussa1n
2 Replies

6. Shell Programming and Scripting

Need Mac .sh to run command line app in seperate terminal

Hello, currently we are executing a .sh from terminal. The current .sh looks like this: #!/usr/bin/env bash /Users/user/my.app/Contents/MacOS/my & -- Now, we also need to run a third line in the .sh - It's a command line application that I need to run when I execute the above .sh... (0 Replies)
Discussion started by: yoyoyo777
0 Replies

7. Shell Programming and Scripting

Read files in shell script code and run a C program on those files

HI, I am trying to implement a simple shell script program that does not make use of ls or find commands as they are quite expensive on very large sets of files. So, I am trying to generate the file list myself. What I am trying to do is this: 1. Generate a file name using shell script, for... (2 Replies)
Discussion started by: shoaibjameel123
2 Replies

8. Shell Programming and Scripting

Run script on multiple files

I have a script that I need to run on one file at a time. Unfortunately using for i in F* or cat F* is not possible. When I run the script using that, it jumbles the files and they are out of order. Here is the script: gawk '{count++; keyword = $1} END { for (k in count) {if (count == 2)... (18 Replies)
Discussion started by: newbie2010
18 Replies

9. UNIX for Dummies Questions & Answers

Run script on multiple files

Hi Guys, I've been having a look around to try and understand how i can do the below however havent come across anything that will work. Basically I have a parser script that I need to run across all files in a certain directory, I can do this one my by one on comand line however I... (1 Reply)
Discussion started by: mutley2202
1 Replies
BLUEMON-QUERY(1)					      General Commands Manual						  BLUEMON-QUERY(1)

NAME
bluemon-query -- Query the state of and send commands to bluemon(1) SYNOPSIS
bluemon-query [<address>] DESCRIPTION
This manual page documents briefly the bluemon-query command. bluemon-query sends queries to the bluemon(1) program over DBUS. QUERIES
running bluemon-query with no arguments will cause it to query for the first connected device. Giving the parameter of a bluetooth ID will query for that ID. It will print the ID and signal strength if connected. SEE ALSO
bluemon (1), bluemon-client(1), bluemon-dbus(7). AUTHOR
This manual page was written by Matthew Johnson <debian@matthew.ath.cx> for the Debian system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version pub- lished by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. BLUEMON-QUERY(1)
All times are GMT -4. The time now is 01:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy