Search Results

Search: Posts Made By: poova
2,139
Posted By poova
Thank you all. since I have the file in...
Thank you all. since I have the file in mm_dd_yyyy format last year december month number 12 is greater than this year january month 01. Thanks for the information about collation sequence order.
2,139
Posted By poova
File globbing order
Hi ,
I'm facing a different behaviour with one of my shell script for last few days. It was working good before that.
here is my code for the script FileRemove.sh
#get the file name#
file1=$1...
1,308
Posted By poova
Thanks for the suggestions. I don't see...
Thanks for the suggestions.
I don't see sendmail.cf file, probably I don't have access I think. There is no mail directory under etc.
Following commands returned no results for me,
$ find / -name...
1,308
Posted By poova
Sendmail
Hi,
I have sendmail running in my server. I would like to know the vendor of this sendmail running in the server. I read in a blog that there are many vendors for sendmail. Please advise me how...
1,058
Posted By poova
Many Thanks.. It's a nice option.
Many Thanks.. It's a nice option.
1,058
Posted By poova
Coloring the pattern match
Hi All,

Can we have colour the matched pattern with any color using unix command? For example I have a very length line a file and I'm applying grep on that file.

grep "matched pattern"...
4,180
Posted By poova
Vb file from UNIX to mainframe
Hi Everyone,

Do I need to provide record length as Record length + 4 when I'm transferring a variable block files from unix to mainframe through ftp?
For example, I have a file in unix...
4,741
Posted By poova
sed using wildcard
Hi Folks,

I had a requirement to replace a pattern a.*a with 'a' alone. I'm writing a sed command to do that. But I'm not able to work this out. Pls help me.

echo 'a123a456a789' | sed...
1,524
Posted By poova
thanks. Can we do it without converting to...
thanks.

Can we do it without converting to ascii by changing the character set environment variables? If so how to do it?
1,524
Posted By poova
applying unix command in EBCIDIC file
Hi,
I'm having a general query. If we do cat <file name> on a Ebcidic format file then many unknown characters are displayed in my screen.
Can we change the character set related to EBCIDIC...
1,287
Posted By poova
Thanks a lot. really useful.
Thanks a lot. really useful.
1,287
Posted By poova
delim count parsing
Hi all,
I have an requirement related to delim count. I want to remove the lines having less than or equal to 2 fields in a csv file. In other words, I want to retrieve the records having more...
20,325
Posted By poova
thanks all for the help. Code: sed...
thanks all for the help.

Code:
sed "s/.\{${CNT}\}$//" infile #satisfied my requirement.
20,325
Posted By poova
Thanks, Do we have it in sed without...
Thanks,
Do we have it in sed without identifying length and using it in echo?

---------- Post updated at 09:39 AM ---------- Previous update was at 09:36 AM ----------


If i want to pass...
20,325
Posted By poova
solved - removing last n char in every line
Hi all,
I want to remove last n char in every line. I'm having the comment as,

cnt=10
[COLOR=black][FONT=Verdana]cat filename | rev | cut -c $cnt- | rev

I want to have it with sed or awk...
1,957
Posted By poova
Thanks all. Nice experience.
Thanks all. Nice experience.
1,957
Posted By poova
write file
Hi all,
I want to append some 20 statements into a file. I'm doing now in ksh script as,
echo “Statement1" >> filename
.............................................
3,760
Posted By poova
exit from function
Hi all,
My kshell code is not working, when I use a function to return something. But when I use the same function as without returning any values, it is working. Pls help me here.

Code1 :...
3,050
Posted By poova
Thanks a lot Alister. It's been more useful...
Thanks a lot Alister. It's been more useful comment for me.
3,050
Posted By poova
Thanks all... It's working. I was supposed to...
Thanks all... It's working. I was supposed to pass variable for 1000 and XYZ-1234 there. So I changed the command to ,
sed "s/$/,$id1,$id2/" file

When using single quote it was not working.
1,517
Posted By poova
sed to edit nth filed
Hi all,
I want to edit nth filed of a comma delimited line with some value. Can I use sed command to do this.
Pls suggest me the command here.

Thanks,
Poova.
3,050
Posted By poova
Add to constant fields at the end of every line
Hi,
I want to add two fields with values '1000' and 'XYZ-1234' at the end of every line in a comma delimited file.
Should I use any command in a loop to add the fields or using any single...
6,782
Posted By poova
Thanks a lot scottn.:b:
Thanks a lot scottn.:b:
6,782
Posted By poova
Standard error output to Pipe input - solved
Hi,
I want to check a particular word is in standard error output or not. Can I acheive it in single command?

For example,
Delete file_name 2>error.log

cat error.log

Output:...
7,012
Posted By poova
I dont have gawk in my machine. awk and nawk are...
I dont have gawk in my machine. awk and nawk are only there. pls suggest me an alternate way.

Thanks,
Poova

---------- Post updated at 08:06 PM ---------- Previous update was at 08:04 PM...
Showing results 1 to 25 of 26

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