Search Results

Search: Posts Made By: pravfraz
5,927
Posted By pravfraz
Merge files without duplicates
Hi all,


In a directory of many files, I need to merge only files which do not have identical lines and also the resulatant merge file should not be more than 50000 lines. Basically I need to...
1,866
Posted By pravfraz
changing csv file contents to file of rows
i have a file a.txt contents as 1,2,3,4,......etc...in a single line, i want to write to another file in rows as
1
2
3
4
5
can u help?
i do not know the length of a.txt
1,563
Posted By pravfraz
thanks a bunch!!! it works:)
thanks a bunch!!! it works:)
1,563
Posted By pravfraz
Field size finder
hi
i have a file and its contents is as below:


8290804808
1338108313
1313141441
13131313133
1313131311
33424242242
23242424242

i want to print only those fields in bold. how...
2,621
Posted By pravfraz
thanks a lot!! i resolved it with your help! ...
thanks a lot!!
i resolved it with your help!
forum rocks!!
2,621
Posted By pravfraz
awk command-logging
hi folks,

In the following code, logfile remains empty.

log_file="/u/Sc/prav.log.$mon$day"

ps -ef | grep "myprocess"| awk -v logfile=$log_file '{
system("date >> logfile")
}'


...
4,100
Posted By pravfraz
ya... it concludes with a 'fi'... thanks a bunch!!
ya... it concludes with a 'fi'... thanks a bunch!!
4,100
Posted By pravfraz
doubt in stanzaget
can u tell me as what the following code does:

x="$(/u/bin/stanzaget $GDS_CONFIG_DIR/runaway_check.cfg $1 $2)"
if [ $? -eq 0 ]; then
RET_VAL=$x


thanks in advance!
2,015
Posted By pravfraz
path options clarification
hi guys..

i want to know as what these options -O and -n stand for, in the following:


HOSTNM=$(/u/bin/wmuname -O)
HOSTNM=$(/usr/bin/uname -n)

can u please help me! awaiting your...
Showing results 1 to 9 of 9

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