Search Results

Search: Posts Made By: yogi_raj_143
3,120
Posted By yogi_raj_143
use paste command, refer man for more details
use paste command, refer man for more details
3,464
Posted By yogi_raj_143
It seems you are dumping & combining the rows...
It seems you are dumping & combining the rows which have common first element in the row for each files
you can use join command



refer man join for more details
4,543
Posted By yogi_raj_143
use find command Go through find man...
use find command



Go through find man pages
4,555
Posted By yogi_raj_143
If the files are sorted, then join command can...
If the files are sorted, then join command can help

refer man pages for join...

join -v1 file1 file2 should work
5,460
Posted By yogi_raj_143
I normally use sed in this context ## print...
I normally use sed in this context

## print line number 1 to 2
sed -n '1,2p' XXX.dat > output_file

## cat another file
cat YYY.dat >> output_file

## print remaining lines from file 1
sed...
Forum: Web Development 09-25-2008
10,876
Posted By yogi_raj_143
Few of my favourites are: ## I recomment...
Few of my favourites are:

## I recomment below two to everyone using FF
NoScript
McAfee SiteAdvisor

## below two who frequenlty use FF & IE
FireFox View
IE View Lite

## Others
Colorful...
1,596
Posted By yogi_raj_143
puts some sample input and required output
puts some sample input and required output
Forum: Web Development 09-19-2008
37,487
Posted By yogi_raj_143
Surely bcoz of addons.... But FF3 is not that...
Surely bcoz of addons.... But FF3 is not that good... it consumes to much CPU and Memory.. But still I voted for FF.

I use kmeleon (http://kmeleon.sourceforge.net/). light wieght.. and clean
4,843
Posted By yogi_raj_143
sed 's/[:=]/ /g' InputFileName | awk '{print...
sed 's/[:=]/ /g' InputFileName | awk '{print "var"NR"= "$1"\nvalue"NR"="$2}'
-->
var1= Name
value1=sachin
var2= address
value2=something
var3= phone
value3=111
4,843
Posted By yogi_raj_143
sed 's/[:=]/ /g' InputFileName | awk '{print...
sed 's/[:=]/ /g' InputFileName | awk '{print "var1= "$1"\nvalue1="$2}'
Its working for me
6,381
Posted By yogi_raj_143
there are many ways to do this... I normally...
there are many ways to do this...
I normally use sed for this,

sed -n '3,/ArbitWord/p' <inputFile>

here ArbitWord is something which you can not expect to be present in your input file
...
10,388
Posted By yogi_raj_143
grep query -A 2 inputFileName | grep -v query
grep query -A 2 inputFileName | grep -v query
5,414
Posted By yogi_raj_143
Some thing similar +++++++ cat filename |...
Some thing similar
+++++++
cat filename | paste -s -
+++++++
Or for more advance operations, I have awk script by some forum like this
+++++++
#! /bin/sh

##...
7,543
Posted By yogi_raj_143
Manier times the editor you use (I use vi &...
Manier times the editor you use (I use vi & emacs) creates it own temporay backup files. If you can not recover the original one, you can use the backup files. They normally contains the data till...
5,427
Posted By yogi_raj_143
You can use sed script for this
sed script would contains
s/Search1/Replace1
s/Search2/Replace2
s/Search3/Replace3
s/Search4/Replace4

now you can use this script (TCSH) as
foreach f (`cat fileList`)
sed -f SedScript $f
end
9,484
Posted By yogi_raj_143
You can use xargs
seq 1 14 | xargs -n 6
Showing results 1 to 16 of 16

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