Search Results

Search: Posts Made By: sdebasis
1,718
Posted By sdebasis
Hi Ravinder, You are right. :b:
Hi Ravinder,

You are right. :b:
1,718
Posted By sdebasis
Hi Kumar, You can try the following. ...
Hi Kumar,
You can try the following.


awk '/G/ {print $0}' filename
13,443
Posted By sdebasis
Hi Kamaraj, It was my mistake. You are...
Hi Kamaraj,

It was my mistake.
You are right......:)
It should be

grep -w "Image 0" a.txt | cut -d " " -f6
13,443
Posted By sdebasis
Hi Also you can try following two codes ...
Hi

Also you can try following two codes

grep -w "Image 0" ImageSizeDetails.txt|awk '{print $3}'

grep -w "Image 0" ImageSizeDetails.txt|cut -d " " -f3
3,060
Posted By sdebasis
Hi The log file(gsc_1_20121121.log) looks like...
Hi
The log file(gsc_1_20121121.log) looks like below



Code:
2012-11-21 08:41:07,367 INFO [com.clsa.fms.orders.bs.impl.delegates.local.impl.ProcessNewOrderSingleTxnDelegate] - fmsspace.1...
3,631
Posted By sdebasis
Hi, you can try this cat...
Hi,

you can try this


cat filename|tail +7|head -3




grep -v "^$" filename|sed -n '6,8p'


:)
2,985
Posted By sdebasis
@Jayan_Jay So simple.Great , Thanx a ton
@Jayan_Jay
So simple.Great , Thanx a ton
143,431
Posted By sdebasis
Hi, Not able to run the game in my...
Hi,

Not able to run the game in my machine.Getting following error

Tetris_Game.sh[17]: syntax error: `(' unexpected


FYI:- I'm using bash shell. (LINUX RHE4)


Please use code tags...
960
Posted By sdebasis
Hi, You can execute this code without "\ and...
Hi,
You can execute this code without "\ and ()" in your first post.
2,589
Posted By sdebasis
Not a good solution as compared to awk (...
Not a good solution as compared to awk

( cat XMLFILE|tr '>' '\012'|egrep "</formattedValue$"|cut -d "<" -f1 >FILE1 ;cat XMLFILE|tr '>' '\012'|egrep "</displayName$"|cut -d "<" -f1 >FILE2;paste...
1,581
Posted By sdebasis
Try the new code given above , I have tried...
Try the new code given above ,

I have tried in LINUX(REH4) , using bash shell.
1,581
Posted By sdebasis
Hi, Your code for i in `ls *-DATE*`;...
Hi,

Your code


for i in `ls *-DATE*`; do mv "$i" "${i/-DATE/}";


New Code:-


for i in `ls *-DATE*`; do mv "$i" "${i/-DATE/}"; done


Note :- Just add "done" to your code
:)
2,810
Posted By sdebasis
Hi Try this sed 's/\^@/ /g' < filename...
Hi
Try this


sed 's/\^@/ /g' < filename |tr -d " "



:)
1,362
Posted By sdebasis
Thanx a lot to Balaje and Ahmed Its...
Thanx a lot to

Balaje and Ahmed

Its Great :b:
998
Posted By sdebasis
Hi, Try this also cat...
Hi,

Try this also


cat filename|paste -s -d ","
3,351
Posted By sdebasis
ok, got it. It will trim all the spaces...
ok, got it.

It will trim all the spaces between the columns.
3,351
Posted By sdebasis
Hi Bmk, Try the following, it will work ...
Hi Bmk,

Try the following, it will work


tr -cd '[:alnum:],|,\012' < filename




Note: I have tried this in LINUX(RedhatE4).
1,535
Posted By sdebasis
Hi, You can try the following code ...
Hi,
You can try the following code



echo india.txt|cut -d"." -f1
2,002
Posted By sdebasis
I'm sorry Pandeesh For your previous...
I'm sorry Pandeesh

For your previous requirement the code will be like:-


paste -s -d" \n" < filename


Note:There should be two spaces and one new line as delemeter , I have only checked...
2,002
Posted By sdebasis
Hi Pandeesh You can also try the following ...
Hi Pandeesh

You can also try the following

code:

paste -s -d" " < filename
14,249
Posted By sdebasis
Hi, sjolicoeur please try this code it...
Hi,
sjolicoeur

please try this code it will work
$ find /var/www/mysite/uploads/files/*.doc -exec egrep -liw "Master en Achats|complet" {} \;

Regards
Debasis

How to use code tags...
1,583
Posted By sdebasis
Hi, Kathyh Try this-- grep -w "2005"...
Hi, Kathyh

Try this--

grep -w "2005" myfile

It will work
Showing results 1 to 22 of 22

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