Search Results

Search: Posts Made By: Kingcobra
1,285
Posted By Kingcobra
Bulls eye!!! Scrutinizer you are an amazing...
Bulls eye!!! Scrutinizer you are an amazing guy.Proud to be in this forum
1,285
Posted By Kingcobra
Thanks mates. Actaullt my spaces got...
Thanks mates.

Actaullt my spaces got supressed when I have put it inside code tag
Help required is
First space --->Do nothing
Second consecutive space--->REPLACE WITH HBU
third space...
1,285
Posted By Kingcobra
Replace second to last but one consecutive occurence
Hi Unix Mates,

I have requirement where in which I have to replace second to last -1 occurence of space with a word and last occurence of a space with a word and a space,input would be a file.
...
1,063
Posted By Kingcobra
Indeed this a lovely place to be. Thanks...
Indeed this a lovely place to be.

Thanks MadeinGermany and rdrtx1 you guys are wonderful.
1,063
Posted By Kingcobra
Preserve spaces while reading character character
Hi All,

I am trying to read a file character by character,


#!/bin/bash
while read -n1 char; do
echo -e "$char\c"
done < /home/shak/testprogram/words



Newyork is a very ...
19,695
Posted By Kingcobra
IFS=' ' read -a words <<< "$line" ...
IFS=' ' read -a words <<< "$line"
for element in "${words[@]}"
do
echo -e "$element\c" >> "/home/user/scripts/cmgtas/maildynamic.html"
...
19,695
Posted By Kingcobra
Thanks Singh, sorry if I have misrepresented my...
Thanks Singh,
sorry if I have misrepresented my requirement
1)Parse a file line by line
2)on the first parse split the line into word array
3)do some processing[which I can handle myself]...
19,695
Posted By Kingcobra
Read a File line by line and split into array word by word
Hi All,

Hope you guys had a wonderful weekend

I have a scenario where in which I have to read a file line by line
and check for few words before redirecting to a file

I have searched the...
4,101
Posted By Kingcobra
You rock
You rock
4,101
Posted By Kingcobra
Lovely,you are a rockstar mate,Big thanks for yor...
Lovely,you are a rockstar mate,Big thanks for yor help
cheers

---------- Post updated 03-26-14 at 01:00 PM ---------- Previous update was 03-25-14 at 02:00 PM ----------

@"Chubler XL" The...
4,101
Posted By Kingcobra
Thanks mate for your reply,however the shell...
Thanks mate for your reply,however the shell script I am executing does not have --color option,its a custom script written which is printing colors using awk and echo

Since ls has --color...
4,101
Posted By Kingcobra
Thanks wisecracker for your reply,the actual...
Thanks wisecracker for your reply,the actual requirement in our project is that we have a java program that prints text to the terminal when manually run and red when printed in all instances is an...
3,039
Posted By Kingcobra
sed '1 d' fo|cut -'d|' -f16|sort|uniq 811 831...
sed '1 d' fo|cut -'d|' -f16|sort|uniq
811
831
861


easiest way to do is,in case if you want an explanations whats happening

sed 1d is selecting all but first line and rest all is self...
4,101
Posted By Kingcobra
Identify Color and send email with same color
Hello mates,

I have a requirement where in which I have to mail an output from multiple programs in the same colour as the output from shell script.

I have seen a post to mail html in our...
9,705
Posted By Kingcobra
This will work
find /apps/vcred/appl/vcrdftp/put/ecredit_drop -iname 1181\*.dat -mtime -60 -print


above must work can you please check it
Showing results 1 to 15 of 15

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