Sponsored Content
Top Forums Shell Programming and Scripting ">" used in system() is not printing into file Post 302354374 by ergy1983 on Friday 18th of September 2009 01:46:25 AM
Old 09-18-2009
but this isn't working as well.

I tried a lot of things. Your version is just outputting the following error:

Z`SYS(s,t)=2.85-*t;
> ^ unexpected character

1.
Code:
befehl1="gensurf seitenwand rollerblind1 '-0.95*s' '0.046' '2.85-$7*t' 1 1 > dataname_v"

Error:
Z`SYS(s,t)=2.85-*t;
> ^ unexpected character

2.
Code:
befehl1="gensurf seitenwand rollerblind1 '-0.95*s' '0.046' '2.85-$7*t' 1 1" ">" dataname_v

Error:
Usage: c:\Daysim\bin_windows\gensurf.exe material name x(s,t) y(s,t) z(s,t) m n [-s][-e expr][-f file]

3.
Code:
befehl1="gensurf seitenwand rollerblind1 '-0.95*s' '0.046' '2.85-'" $7 "'*t' 1 1 >" dataname_v

Is just printing "# c:\Daysim\bin_windows\gensurf.exe seitenwand rollerblind1 -0.95*s 0.046 2.85-0*t 1 1" into the files


But none of this is performing the command and printing the result into the files.

Last edited by ergy1983; 09-19-2009 at 02:51 PM..
 

10 More Discussions You Might Find Interesting

1. Programming

Why ""No mountable file system"

I tried to install OpenMotif under Mac OS in the computing lab today, but I got "No mountable file system". Is it because I don't have the administrator's privilege? (0 Replies)
Discussion started by: endeavour1985
0 Replies

2. Shell Programming and Scripting

To start printing a file at line " n" .

To start printing a file at line " n" . let n = 10 and FileName = f1 (3 Replies)
Discussion started by: shashwat2691
3 Replies

3. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

4. UNIX for Dummies Questions & Answers

How to Export Glance "Global System Calls" data to a file

Hello... I'm trying to setup a cronjob to record system data using glance at certain times of the day. My question is, how would one export the "Global System Calls" information to a file? Below is the command I have been using and it works to export CPU information. glance -f ... (0 Replies)
Discussion started by: fumus
0 Replies

5. Shell Programming and Scripting

Cat Command on File not printing "Blank" Lines?

Hello All, I have a bash script and in it at some point I call an Expect Script that does some stuff and saves its output in a ".txt" file. Example "/path/to/my/file/Expect_Output.txt" file: notice the 2nd line is empty in the file... Data for Host-1 (192.168.1.110) Checking the... (2 Replies)
Discussion started by: mrm5102
2 Replies

6. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

7. Red Hat

Related to "NAS" some file system (mounted volumes) were not writable

Dear friends, I have been facing an issue with one of my red hat unix machine, suddenly lost to switch sudo users. My all colleagues lost to switch to access sudo users. Then, we have realized its related to NAS issue which does not allowing to write the file. because of this we got so many... (1 Reply)
Discussion started by: Chand
1 Replies

8. Shell Programming and Scripting

awk "date" and "system" command

Hello experts! I need your help please I have a file.txt of which I want to extract 3rd and 4th columns with date with the form e.g.: 2016-11-25 03:14:50and pass them to "date" command, but also append the 9th column in a file as well. So I want to execute date -d '2016-11-25 03:14:50' ... (2 Replies)
Discussion started by: phaethon
2 Replies

9. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies

10. UNIX for Beginners Questions & Answers

What does "force devmap reload" as in "multipath -r" means for my system and stability of my system?

Cannot present unpresented disks back again. On a test server tried this as a solution "multipath -r" and it worked. Too worried to try it in production before I know all the information. Any info would be appreciated! Also some links to the documentation on this specific issue could help a... (1 Reply)
Discussion started by: jsteppe
1 Replies
picl_initialize(3PICL)					      PICL Library Functions					    picl_initialize(3PICL)

NAME
picl_initialize - initiate a session with the PICL daemon SYNOPSIS
cc [ flag... ] file... -lpicl [ library... ] #include <picl.h> int picl_initialize(void); DESCRIPTION
The picl_initialize() function opens the daemon door file and initiates a session with the PICL daemon running on the system. RETURN VALUES
Upon successful completion, 0 is returned. On failure, this function returns a non-negative integer, PICL_FAILURE. ERRORS
PICL_NOTSUPPORTED Version not supported PICL_FAILURE General system failure PICL_NORESPONSE Daemon not responding ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ SEE ALSO
picl_shutdown(3PICL), attributes(5) SunOS 5.11 28 Mar 2000 picl_initialize(3PICL)
All times are GMT -4. The time now is 06:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy