Sponsored Content
Top Forums Shell Programming and Scripting Read from file and execute the read command Post 302851397 by RudiC on Sunday 8th of September 2013 04:15:55 PM
Old 09-08-2013
You lost me - sorry. What's the result of cat $file_path | grep -i $STR | cut -d '*' -f4?
Why don't you execute the relevant part of your code with the xtrace option on and post the result?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

File read & execute problem

Hi folks, Need your help. I am writing a KSH script to read a few commands from a file & execute. I am using the following code to read the file line by line & excute each command. When I am printing each line I see it is printing properly but while excuting, the particular "ps" command... (5 Replies)
Discussion started by: tipsy
5 Replies

2. Shell Programming and Scripting

the shell not pause when execute read command

Hi, i facing a problem when run the script below.. while do if then printf "Please enter a name : " read response # the problem occur here if then ea_ident=${omc_ident} else # # Check that name does not contain invalid... (14 Replies)
Discussion started by: neruppu
14 Replies

3. Programming

Cannot read a file with read(fd, buffer, buffersize) function

# include <stdio.h> # include <fcntl.h> # include <stdlib.h> # include <sys/stat.h> int main(int argc, char *argv) { int fRead, fPadded, padVal; int btRead; int BUFFSIZE = 512; char buff; if (argc != 4) { printf ("Please provide all of the... (3 Replies)
Discussion started by: naranja18she
3 Replies

4. Shell Programming and Scripting

How to execute commands read from another file?

Please help with this simple example. I can not figure out how to do it. A file named “job” contains only this one line:var=5I need a script to read the job file and execute it as a command. This is my attempt (it does not work):#!/bin/sh exec < job echo "var = $var"output should read “var = 5”... (5 Replies)
Discussion started by: wolfv
5 Replies

5. Shell Programming and Scripting

How to read a file line by line and store it in a variable to execute a program ?

Hello, I am quite new in shell scripting and I would like to write a little scritp to run a program on some parameters files. all my parameters files are in the same directory, so pick them up with ls *.para >>dirafter that I have a dir file like that: param1.para param2.para etc... I... (2 Replies)
Discussion started by: shadok
2 Replies

6. UNIX for Dummies Questions & Answers

When reading a csv file, counter to read 20 lines and wait for minute then read next 20 till end

Hello All, i am a newbie and need some help when reading a csv file in a bourne shell script. I want to read 10 lines, then wait for a minute and then do a reading of another 10 lines and so on in the same way. I want to do this till the end of file. Any inputs are appreciated ... (3 Replies)
Discussion started by: victor.s
3 Replies

7. Shell Programming and Scripting

Read line by line and execute command

Hi ALL, I have a requirement like this. 1.GET ALL TABLE NAME (just table name) keep in file 2.Read line by line and get the count of table from tablename files. tablename detail has a sql statement "db2 select tabname from syscat.tables" (1 Reply)
Discussion started by: netdbaind
1 Replies

8. Shell Programming and Scripting

Process to read a new file entry and execute a command

I need to develop a process/daemon which will constantly monitor a file for new entry and execute a command. for eg, there is a file /var/log/inotify.log When a new entry like below gets appeneded to this file, execute the command as follows. /home/user/public_html/bad.php|CREATE ... (2 Replies)
Discussion started by: anil510
2 Replies

9. Shell Programming and Scripting

Other user should not read the file but can execute

Hi, I have one script for which I want that other user should not read the script file but can execute. Is there any method ? I tried by giving 711 but it gives Permission denied to other users. For Generic User id as a work around , I have created alias in .bashrc file and other user... (4 Replies)
Discussion started by: Amit Joshi
4 Replies

10. UNIX for Beginners Questions & Answers

Du command not able to read file.

hi when i am trying to check the file size using du command in shell script but getting a below error, although the file is present du: cannot access `LOGS_18-08-20.tar.gz': No such file or directory below is snippet of script cd /home dt=$(date --date="yesterday" +"%y-%m-%d") du ... (3 Replies)
Discussion started by: scriptor
3 Replies
nunit-console(1)					      General Commands Manual						  nunit-console(1)

NAME
nunit-console - Test-based front-end to NUnit SYNOPSIS
nunit-console [assemblies] [options] DESCRIPTION
nunit-console is a simple but powerful front-end to NUnit, a testing framework for .NET. It will run all or some tests from the assemblies specified as arguments and display the results. Results can be written in either XML or plain text. OPTIONS
/fixture=STR Run specified fixture /config=STR Project configuration to load /xml=STR Write test result output data to specified file /transform=STR Name of transformation file to run on XML output file. /xmlConsole Print XML to the console. /output=STR File to receive regular test output /err=STR File to reveive test error output /labels Label each test in output. /include=STR Test categories to include (may contain wildcards) /exclude=STR Test categories to exclude (may contain wildcards) /noshadow Disable shadow copy /thread Run tests on a seperate thread. /wait Wait for input before closing window. /nologo Do no show credits at startup. /help Show list of available arguments. SEE ALSO
/usr/share/doc/nunit/html AUTHOR
This manpage was written by Jelmer Vernooij <jelmer@samba.org> for the Debian project (but may be used by others). 1 June 2005 nunit-console(1)
All times are GMT -4. The time now is 01:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy