Search Results

Search: Posts Made By: gvj
4,972
Posted By gvj
as mentioned by @47shailesh, its the description...
as mentioned by @47shailesh, its the description from diff, what you can do is remove those descriptions,
diff file1 file2 | sed -ne 's/^[><] //p' > mismatchfile
1,295
Posted By gvj
I have to do opposite of what you want...
I have to do opposite of what you want https://www.unix.com/shell-programming-scripting/169587-convert-row-column.html
2,230
Posted By gvj
Convert row to column
Hi,
I have a file like this

50 1 2 1374438
50 1 2 1682957
50 5 2 1453574
50 10 2 1985890
100 1 2 737307
100...
1,784
Posted By gvj
That is not the case too... :( if its the reason...
That is not the case too... :( if its the reason it should print the values in two lines.

I guess its something with operations in hash
1,784
Posted By gvj
That doesn't work. Addition won't be done. By the...
That doesn't work. Addition won't be done. By the way I am not asking for the solution, but for the reason behind this :)
1,784
Posted By gvj
Strange perl print output behaviour
Hi,
Today I have found the following case in perl:
print "length:$lengths[$i]\tsum:". $count{$lengths[$i]}+$count_pair{$lengths[$i]}."\tindi:$count{$lengths[$i]}\t$count_pair{$lengths[$i]}\n";This...
1,159
Posted By gvj
@sk1418: thanks for the help, but I may have more...
@sk1418: thanks for the help, but I may have more file then I think i have to extent the script with more ARGIND check. Is it possible to make it some loop or something? I think I have to check with...
1,159
Posted By gvj
Combine columnes from different files
Hi all,
I found some similar probs and solutions but not working for my case. I have multiple files like this:


file1:

g1.1 2
g2.2 4
g2.1 5
g4.1 3


file2:

g1.1 2
g1.2 3
g4.1 4

...
49,771
Posted By gvj
alright, i thought xd comes like a debian. But I...
alright, i thought xd comes like a debian. But I have found it now and installed it from here (http://www.fourmilab.ch/xd/) . But it doesn't show what I want, its doing some dumping into hexa/oct...
49,771
Posted By gvj
What is this xd command ?
What is this xd command ?
49,771
Posted By gvj
How to see special characters?
Hi all,
I was wondering how can i see the special characters like \t, \n or anything else in a file by using Nano or any other linux command like less, more etc
5,727
Posted By gvj
Tree command
How can i install tree command in ubundu without root ? I have found some shell script which does the same job as tree but i would like to get all the options in tree command

thanks
974
Posted By gvj
extract features from file2 depending on file1
I want to extract features from file2 depending on file1 eg:
file1:
GI1G100
GI4G350
GI1G200
........
file2:
chr1 set GI4G350
chr1 set GI4G250
chr1 set GI4G352
chr1 set2 GI4G350
chr1 set...
4,820
Posted By gvj
sed '/wibble/ i testmachine3 IN A ...
sed '/wibble/ i testmachine3 IN A 192.189.1.3' file name. This search for wibble line and add your line before that ( i flag is for insert). I m not sure is this what u want?
3,599
Posted By gvj
sed -i '3d' filename
sed -i '3d' filename
3,483
Posted By gvj
Could u please explain ur code? I confused, how...
Could u please explain ur code? I confused, how did u finding common lines in all files??
Forum: Ubuntu 08-23-2010
10,283
Posted By gvj
Hi sorry for the late reply. I tried modprobe -c...
Hi sorry for the late reply. I tried modprobe -c which gave me many video named modules. Could you please tell me the extract command which i have to run?

its SAMSUNG N148 ( same as N150 but...
2,675
Posted By gvj
@zaxxon: in your awk script Code: awk...
@zaxxon:
in your awk script
Code:
awk -F"[ _]" '{sub(/Map/,"",$3); print $3}' infileyou r deleting the 'map', but what i want is to store the digits after map in order to do some logical test...
2,675
Posted By gvj
Regular exp in awk
Hi all,
One small doubt, reg exp in awk, is it possible to extract the match of regular expression like in perl?

eg:
B R16288 Map3_NoCat
B R16067 Map4_NoCat
B R16647 Map3_NoCat
B R16450...
3,321
Posted By gvj
I hope u have a space seperated file, if not...
I hope u have a space seperated file, if not change the sed command

sed 's/ /\n/g' file_name | sort| awk '{if(pre == $0){print;}pre=$0}'|uniq > output_fileThis works, but i m nt a expert so there...
4,243
Posted By gvj
This should work du -bc <folder_name>| grep...
This should work
du -bc <folder_name>| grep total | cut -f1 I think the problem with ur code was tr -s " " where u r squeezing space but actually its a tab. so tr is not making any difference. In...
44,455
Posted By gvj
Could you pls explain why it is working?? its...
Could you pls explain why it is working?? its seems interesting. I knw the basis of awk but how this printing is happening by assigning one variable ? is it due to some special variable like $_ in...
Forum: Ubuntu 07-25-2010
10,283
Posted By gvj
What is this 'modprobe video' and of course keys...
What is this 'modprobe video' and of course keys are not working. I have smartdimmer installed but i am getting an error init_nvclock() failed!.

lsmode command also gives me video in that so that...
Forum: Ubuntu 07-23-2010
10,283
Posted By gvj
But I don't have video folder under /proc/acpi/...
But I don't have video folder under /proc/acpi/ :(

these are the folder i have

ac_adapter/ event processor/
battery/ fadt sleep
button/ ...
Forum: Ubuntu 07-23-2010
10,283
Posted By gvj
Brightness adjustment
Hi all,
I am using Ubuntu 10.04 LTS in Samsung N148. I can't see any option to adjust brightness in System->Preference->monitor. Is there any shell command to adjust brightness ? I have used...
Showing results 1 to 25 of 28

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