10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Basically what I am trying to do is making multiple fields of the same type comma-separated.
i.e. for a data like this:
Output should be like:
B00001 abc,def,ghi,jkl... (20 Replies)
Discussion started by: prohank
I have received an application that stores some properties in a file. The existing struct looks like this:
// copy of Telnet data struct
// basic properties:
TCHAR szHost; //defined in Sshconfig
TCHAR... (2 Replies)
Discussion started by: Powerponken
i'm trying to implement the times() function and i'm programming in C.
I'm using the "struct tms" structure which consists of the fields:
The tms_utime structure member is the CPU time charged for the execution of user instructions of the calling process.
The tms_stime structure... (1 Reply)
Discussion started by: g_p
4. Shell Programming and Scripting
I need your help where I have a C structure and I want it to be converted into corresponding function.
unsigned long LineNum; //1025-4032
unsigned short KeyNum; /*tbd*/
char Key; /*between 1-3*/... (1 Reply)
Discussion started by: skyos
5. Shell Programming and Scripting
i have following input file...
00290002STDR000000000000000000000000000EOD END TRANSACTION ^@^@^@^@^@^@^@^@^@^@^@^@^
00299998STDR070000000007000000000000000STANDING DEBITS ^@^@^@^@^@^@^@^@^@^@^@^@^... (1 Reply)
Discussion started by: sagarrd
6. UNIX for Dummies Questions & Answers
Can someone tell me how to do this?
Just a thought that entered my mind when learning about structs.
First thought was:
would this be how you would access "three"? (1 Reply)
Discussion started by: unbelievable21
7. UNIX for Advanced & Expert Users
iam trying to built a firewall.so i have used netfilter for it.
in function main_hook sock_buff is returning null and in my log file continuously "sock buff null" is printed plse help to solve this problem..
(using print_string iam printing strings on current terminal (terminal we ping))
... (1 Reply)
Discussion started by: pavan6754
8. Shell Programming and Scripting
I'm trying to add logging to an existing script which echos a number of lines to the screen. I've added a switch to the script that is going to suppress much of this output and put it in a file instead.
The way I envisioned it was like this:
$log would be set to either "" or the log files... (8 Replies)
Discussion started by: cheetobandito
9. Shell Programming and Scripting
I am trying to implement a login screen to the following code how would i go about doing so. I have try to place the password in a variable using if statements which would usually work but as i have the system in a while loop i think i need to find another method.
#Filename:... (4 Replies)
Discussion started by: warlock129
I am facing a problem with redirection. Its somewhat related to parsing.
I am following the following steps.
1. take the command and tokenize it.
2. if redirection is there then give it to redirection unit
3. if pipe is there give it to piping unit.
4. do until the command ends
... (0 Replies)
Discussion started by: mobile01