Search Results

Search: Posts Made By: muthuveerappan
3,700
Posted By muthuveerappan
Thanks a lot !!
Thanks a lot !! works great !! :)
3,700
Posted By muthuveerappan
[Solved] if statements in shell to compare value
Hi,

I am a newbie to unix, I am trying to write a shell script (just a test) but I can't seem to compare the variable value with a string in the if statement.

I get an error when i execute the...
1,204
Posted By muthuveerappan
Oh ok, I kept trying without * and was waiting...
Oh ok, I kept trying without * and was waiting ... lol

Thank a lot guys, I think i understand a little better now :)
1,204
Posted By muthuveerappan
yeah you are correct, I had some binaries in...
yeah you are correct, I had some binaries in those directories.

Question1:
The way to exclude is only based on file extensions ?
Unfortunately i have some binaries which don't have extensions.
...
1,204
Posted By muthuveerappan
Thanks a lot !! works great ! ----------...
Thanks a lot !! works great !

---------- Post updated at 08:24 AM ---------- Previous update was at 08:13 AM ----------

Note - I am using a mac (not sure if different variants of POSIX have...
1,204
Posted By muthuveerappan
script to grep content - error
Hi,

I have written a script to search content of the files in the sub-directories.

Questions:
1) When i execute the script I get an error, pls can someone help me with this.
2) What is the...
1,942
Posted By muthuveerappan
Thanks a lot !!
Thanks a lot !!
1,942
Posted By muthuveerappan
sed command
Hi,

I have a doubt regarding the sed command, given below is the command I am using:

sed -i.bak 's/abcd/xyz/g' *.cpp

When I execute the following command the following happens:
1) All .cpp...
18,575
Posted By muthuveerappan
Thanks a ton !!!
Thanks a lot for the quick reply.

The cut command on the command line seems to be a easier one.

Thanks again,
Muthu
18,575
Posted By muthuveerappan
remove columns using vi
Hi,

I have a csv file, contents are shown below:

abcd,efgh,ijkl,mnop,qrst
ksajdjksah,askdasj,askhdakjs,sadjkhas
iqwdym,sadkj,asdkjha,sadhkjas,sadlkj
sakjhdkjas,sadkhask,sadkhjasd,asdkhj
...
Showing results 1 to 10 of 10

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