Search Results

Search: Posts Made By: bvsarathi
2,269
Posted By bvsarathi
tail -r temp | nawk 'NR>30'|tail -r
tail -r temp | nawk 'NR>30'|tail -r
3,013
Posted By bvsarathi
ls -1 *.csv | perl -pe 's/\n/,/g' >output.txt
ls -1 *.csv | perl -pe 's/\n/,/g' >output.txt
1,563
Posted By bvsarathi
sed 's/\(.\)/\1\n/g' -i filename
sed 's/\(.\)/\1\n/g' -i filename
3,170
Posted By bvsarathi
perl -lne "if(/-----/.../-----/ and...
perl -lne "if(/-----/.../-----/ and $_!~/----/){print}" joinl.txt
8,853
Posted By bvsarathi
perl -lne "if(/dp:file/){$_=m/>([^<]*)</;print...
perl -lne "if(/dp:file/){$_=m/>([^<]*)</;print $1}" your_xml_file

Regard's,
Vijay
2,306
Posted By bvsarathi
awk -F":" '{print...
awk -F":" '{print substr($2,0,4)"-"substr($2,5,2)"-"substr($2,7,2)" "substr($2,9,2)":"substr($2,11,2)":"substr($2,13,2)}' your_file

Regards,
Vijay
1,778
Posted By bvsarathi
perl -lne "$line=$line.' '.$_;if(/^$/ or...
perl -lne "$line=$line.' '.$_;if(/^$/ or eof){print $line;undef $line;}" your_file
Regards,
Vijay
1,990
Posted By bvsarathi
while read rname do ext=`echo $rname|awk...
while read rname
do
ext=`echo $rname|awk -F"." '{print $NF}'`
if [[ "$ext" == "txt" ]]
then
scp $scp_user@$scp_server:${rname} /a/b/c/
fi
done < filenamelist.txt


Regards,
Vijay
Showing results 1 to 8 of 8

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