8 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I want to find c function definition with pattern with shell script by checking condition for each line:
data_type
functionname(param_list){
....
}
I knew cscope or ctag is usable for this task, but if there any ways to do without using them.
I am thinking of checking line condition... (3 Replies)
Discussion started by: cmdcmd
3 Replies
2. Shell Programming and Scripting
This is the description of the option -print0 fon the command find in the man page:
What does the "True" in the first line of the description mean? (3 Replies)
Discussion started by: puertas12
3 Replies
3. Homework & Coursework Questions
From the below i would need the difference using between && and ||
error_func()
{
# Standard error function
] && print -u2 "ERROR: $*"
exit 1
}
] && error_func "Source Directory is missing as input argument"
] || error_func "Source Directory does not... (1 Reply)
Discussion started by: arun888
1 Replies
4. UNIX for Dummies Questions & Answers
i have a '|' delimited file having 4 fields.
now i want to sort the data by combination of first three fields without changing order of 4th field.
input file looks like this:
3245|G|kop|45
1329|A|uty|76
9878|K|wer|12
3245|G|kop|15
1329|A|uty|56
9878|K|wer|2
3245|G|kop|105... (4 Replies)
Discussion started by: ankurgoyal2408
4 Replies
5. Shell Programming and Scripting
I have 7 functions those need to be executed as command line inputs, I tried with below code it’s not executing function. If I run the ./script 2 then fun2 should execute , how to initiate that function I tried case and if else also, how to initiate function from command line
if
then... (8 Replies)
Discussion started by: saku
8 Replies
6. Shell Programming and Scripting
Hello,
I need to write a perl script to find where functions is called in c files..
The script should scan the file and find out the function names and then search to see where they are called...
Lets for now assume all functions are internal.
I don't know where to start :(
... (4 Replies)
Discussion started by: bojomojo
4 Replies
7. UNIX for Advanced & Expert Users
Hi,
We have some clients who will place huge files in to one of the remote server.
And the shell script written in our local server to retrieve client files (using FTP) placed on one of the remote server of ours by clients.
My question Is there any FTP command/script to check from my local... (1 Reply)
Discussion started by: nmsrao
1 Replies
8. Programming
Hello,
I'm not sure whether this thread is in the right subforum, if it isn't please excuse me.
So, here's my question - right now I'm trying to port a Solaris device driver for a custom piece of hardware to Linux (2.6.15), and I'm having some troubles finding the proper corresponding... (3 Replies)
Discussion started by: boyanov
3 Replies