Search Results

Search: Posts Made By: sampoorna
4,906
Posted By sampoorna
Hi, I tried converting the file using...
Hi,

I tried converting the file using unix2dos and sent the converted file, but still I am getting the file data as corrupted data in the body of the mail and the attachment is coming. This...
4,906
Posted By sampoorna
the below code is working when iam sending it to...
the below code is working when iam sending it to gmail but it is not working for microsoft outlook.


(uuencode /gdw/gdw_p4/dev/gid/ff_header.txt ff_header.txt | mailx -s "hi" xxx@gmail.com)
4,906
Posted By sampoorna
Yes i tried sending to gmail,but im facing the...
Yes i tried sending to gmail,but im facing the same problem
4,906
Posted By sampoorna
Email with .dat file as attachment
Hi, I am trying to email a .dat file as an attachment from unix MS-outlook.

I tried uuencode but it is not attaching the file, rather it is placing some junk data in the body of mail. Below is my...
5,055
Posted By sampoorna
is there a way, that we can achieve this with...
is there a way, that we can achieve this with sed?...I am sorry, am weak in UNIX
5,055
Posted By sampoorna
It says ---------- Post updated at 07:39...
It says


---------- Post updated at 07:39 AM ---------- Previous update was at 06:49 AM ----------

tr "\n" "|" is printing only the firstsearch
5,055
Posted By sampoorna
Grep:pipe delimited output
Hi,

I am trying to search for a string in a file and print all the matched lines as pipe delimited format.

My command is

cat m_gid_trans.XML|grep -i '<TABLEATTRIBUTE NAME ="Lookup cache...
1,926
Posted By sampoorna
Can't we do it using sed or awk?
Can't we do it using sed or awk?
3,672
Posted By sampoorna
Perfect, thank you very much
Perfect, thank you very much
3,672
Posted By sampoorna
[Solved] Search for a word and print the next word
Hi,

I am trying to search for a word and print the next word. For example:

My text is "<TRANSFORMATION TYPE ="Lookup Procedure">"

I am searching for "TYPE" and trying to print ="Lookup...
3,919
Posted By sampoorna
Connect to SVN from UNIX
Hi,

Can anyone please tell the command to connect to SVN from UNIX?

Thanks
2,254
Posted By sampoorna
Yes, the mapping should be a valid one and the...
Yes, the mapping should be a valid one and the naming conventions should should be as per the standard codes. That is basically the script should check the XML file and validate the naming...
2,254
Posted By sampoorna
UNIX script to validate the export of a XML-formatted mapping
Can any one please share a unix script for validating the export of a mapping which is in XML format

Any help would be great for me.

Thanks
6,590
Posted By sampoorna
Pamu, Your code is working! Can u please...
Pamu,

Your code is working!
Can u please explain the command.

Thanks
6,590
Posted By sampoorna
Delete an entire column from a tab delimited file
Hi,

Can anyone please tell me about how we can delete an entire column from a tab delimited file?

Mu input_file.txt looks like this:

And I want the output as:
I used the below code
nawk -v...
1,716
Posted By sampoorna
There is no particular pattern for the data, it...
There is no particular pattern for the data, it could be in any format and start at any row.
Is it possible to get the line number where the column header starts, atleast

Thanks

----------...
1,716
Posted By sampoorna
Hi, its working for the below code $ awk...
Hi,

its working for the below code
$ awk 'match ($0, srch) {print NR, RSTART; exit}' srch="DName" file

The sample data of my input file looks like:
ACCENT_INPUT
Pcode Dealer...
1,716
Posted By sampoorna
Print column postion
Hi,

I am using the below code for printing the column position of a particular string

nawk -v srch="DName" -F '\t' '{for(j=1; j<=NF; j++) { if($j==srch) print j } exit }' input_file.txt

The...
4,387
Posted By sampoorna
thank you very much.. :)
thank you very much.. :)
4,387
Posted By sampoorna
thanks, can u plz explain the command
thanks, can u plz explain the command
4,387
Posted By sampoorna
Insert empty columns in a flat file
Hi,

I have a tab delimited flat file, for example shown below
Name Desg Loc
a b c
d e fI want to insert an empty column inbetween the column Desc and Loc, the result should be...
8
awk
1,873
Posted By sampoorna
nothing has worked...:-(
nothing has worked...:-(
8
awk
1,873
Posted By sampoorna
what I am trying to do with a and b is, i wrote a...
what I am trying to do with a and b is, i wrote a script where I have to pass the coulmn positions as variables to the awk command. the column positions must be passed dynamically as the code runs...
8
awk
1,873
Posted By sampoorna
awk
I am trying to swap 2 columns in a flat file by passing the column fields as variables to awk, plz see below

cat input_file.txt|awk -v a=$1 -v b=$2 'BEGIN {FS=OFS="\t"} {temp=a; a=b;...
Showing results 1 to 24 of 24

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