The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com



High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
passing arguments from shell to java kenpeter UNIX for Dummies Questions & Answers 3 05-19-2008 07:54 PM
Bash Shell - # of arguments DNAx86 Shell Programming and Scripting 1 01-10-2008 01:23 PM
read number of arguments in c shell skumar11 Shell Programming and Scripting 1 09-07-2007 05:11 PM
Shell script with arguments sankar6254 Shell Programming and Scripting 3 12-22-2003 09:21 AM
Arguments to a shell program csvenkata UNIX for Advanced & Expert Users 3 10-23-2001 10:36 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 05-11-2008
DNAx86 DNAx86 is offline
Registered User
  
 

Join Date: Jan 2008
Posts: 69
read arguments from shell

I have to write a C program using sys call (read, no fread) to read from shell all the parameters, without know how many are them.


I tryed in some ways, but I have no success.

Any Idea?
Can I use read to read from stdin?

Last edited by DNAx86; 05-11-2008 at 12:21 PM..
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:14 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0