Search Results

Search: Posts Made By: anand.shah
Forum: Programming 09-20-2014
2,147
Posted By anand.shah
Thanks Migurus for your prompt reply. But...
Thanks Migurus for your prompt reply. But unfortunately I have to do this in C++.
Forum: Programming 09-19-2014
2,147
Posted By anand.shah
Hello, Surely its not gravitational...
Hello,
Surely its not gravitational assignment. Sorry for mentioning so. I did it just to bypass the strict restriction put on by service base companies on there employees. I am working as...
Forum: Programming 09-19-2014
2,147
Posted By anand.shah
Finding duplicate files in two base directories
Hello All,
I have got some assignment to complete till this Monday and problem statement is as follow :-

Problem :- Find duplicate files (especially .c and .cpp) from two project...
Forum: Programming 07-22-2014
13,675
Posted By anand.shah
Thank you Chacko193 for your efforts. I...
Thank you Chacko193 for your efforts. I understood it completely. I always felt there is some catch in it which I was missing. Thanks again.
Forum: Programming 07-22-2014
13,675
Posted By anand.shah
C++ : Base class member function not accessible from derived class
Hello All,
I am a learner in C++. I was testing my inheritance knowledge with following piece of code.

#include <iostream>

using namespace std;

class base
{
public :...
Forum: IP Networking 06-19-2014
3,892
Posted By anand.shah
Packetize data to send it over tcp sockets
Hello All,
I am very new to socket programming and client server architecture. I have to write a client which will send some data to server and server will display it on its...
Forum: Programming 06-18-2014
5,501
Posted By anand.shah
Dear CarloM, Thanks man...
Dear CarloM,
Thanks man for your input. I eed to keep track of the line word counts until end of processing and then pass it to other thread. I was assuming worse case of...
Forum: Programming 06-18-2014
5,501
Posted By anand.shah
C Code to read a word from file
Hello All,
I have to write a C Code to read a word from file and Keep track of the number of word occurrence in each line and total in the file. Maintaining total count is easier but...
Forum: Programming 12-24-2013
3,910
Posted By anand.shah
Here are the macros :- #define...
Here are the macros :-

#define INA_SAVE_APP_STATE(STATE) appState = (appState | STATE);
#define INA_GET_APP_STATE() appState

The problem with above macro is that when i switch from state1 to...
Forum: Programming 12-24-2013
3,910
Posted By anand.shah
Dear , I am really sorry for my...
Dear ,
I am really sorry for my idiot reply in last post.
Yes I store the last state which I am exposing to my application through another macro.
Thus there are...
Forum: Programming 12-24-2013
3,910
Posted By anand.shah
Dear Don Cragun, ...
Dear Don Cragun,
Thank you very much for your reply.
I am using C macro to accomplish this. I can not pass states to remove from state as I am...
Forum: Programming 12-24-2013
3,910
Posted By anand.shah
Bitwise operation for state machine
Hello All,
I am writing basic state machine which maintains 8 different states and there is posibility that system may be in multiple states at a time (Except for state1 to state3....
1,768
Posted By anand.shah
"menuconfig" utility in Linux
Hello All,
I have a Kconfig file which contains configuration flags which will be set according to product.When you run "mconf" on Kconfig file you get a window where you can load...
2,592
Posted By anand.shah
Redirecting command output to a file in a shell script
Hello All,
I have some unique requirement.
I have written a very lengthy script which calls number of resource script to execute a particular task.
...
1,464
Posted By anand.shah
Many many thanks Don Cragun ..... its working...
Many many thanks Don Cragun ..... its working perfectly.
Also thanks to PAmu , Yoda and Vidyadhar for precious inputs.

How to mark the thread as solved ?
1,464
Posted By anand.shah
Dear Vidyadhar85, ...
Dear Vidyadhar85,
Its doing half of the work .... but still i want to add Kconfig.ati Kconfig.spi ..... etc at the end of each line. Anyway thanks for your quick reply.
1,464
Posted By anand.shah
[Solved] String manuplation using sed
Hello All,
I have a file that has following contents ...

config INY_DEBUG
bool "Debug"
default n

source mod/ati/Kconfig
source mod/spi/Kconfig
source mod/kgi/Kconfig...
3,048
Posted By anand.shah
Thank you everyone. Your solution worked !!!
Thank you everyone. Your solution worked !!!
3,048
Posted By anand.shah
Hi, I got the issue bit don't know how to...
Hi,
I got the issue bit don't know how to fix it.
Actually my file has spaces in front of every line that's why it was not working. When I tried by removing spaces from every line it...
3,048
Posted By anand.shah
Dear Jotne, When I run "awk"...
Dear Jotne,
When I run "awk" on the output of echo (it's same way you have shown), its working fine for me. But what i want is, whatever is there in echo command is part of file...
3,048
Posted By anand.shah
Dear Jonte, When i run...
Dear Jonte,
When i run command given by Pravin on my_file then contents of my_file vanishes. Anyway I am not doubting solution given by Pravin but some problem with the way I am...
3,048
Posted By anand.shah
Dear Friend, I am new to...
Dear Friend,
I am new to shell scripting and "awk" so not able to find the issue but it is deleting contents of the file.


Regards,
Anand Shah
3,048
Posted By anand.shah
Modifying contents of the file in shell script
Hello all,
I have a Kconfig file that looks like something below ...
================================
menu "Application type"
config GUI_TYPE_STANDARD
...
1,271
Posted By anand.shah
Manipulation with the string using sed
hello All,
When I run find command on certain directory I may get one of the following output depending on configuration
A. ./rel/prod/libpam.a
B. ./rel/fld/libpam.a
C....
3,604
Posted By anand.shah
Gmail Authentication from shell script
Hello All,
I want my script to accept Gmail user name and password from command line and authenticate that user .Is it possible ?
I heard about doing it using Google...
Showing results 1 to 25 of 45

 
All times are GMT -4. The time now is 09:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy