02-03-2011
Why do you feel this is not a very convincing solution?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have written the following code ...to include the Subject, Message Body and Attachment with sendmail.
When I send mail from my Unix account to diffrent mail servers like Yahoo , Hotmail etc..I recv the Message Body but there is no newline character at the end of each line....
Also I recv the... (5 Replies)
Discussion started by: Amruta Pitkar
5 Replies
2. Shell Programming and Scripting
Guys,
can you help me in removing the junk character "^S" from the below line using perl
Reference Data Not Recognised ^S Where a value is provided by the consuming system, which is not reco
Thanks,
M.Mohan (1 Reply)
Discussion started by: mohan_xunil
1 Replies
3. Shell Programming and Scripting
Hi,
Is there anyway to find the junk characters in a file.Consider the file has data as given below:
123|abc^M|Doctor^C #record 1
234|def|Med #record 2
345|dfg^C|Wrong^V #record 3
The junk characters are highlighted and this is a pipe delimited file.
Is there anyway to... (20 Replies)
Discussion started by: ashwin3086
20 Replies
4. Shell Programming and Scripting
Hi,
I have a file with data as given below
$cat file1
123|abc|345
345|def|567
The first record is good record. The second record has an invisible junk character like \032.
I was replace all the occurences of that invisible character with #.
I want to do this for a set of... (16 Replies)
Discussion started by: ashwin3086
16 Replies
5. UNIX for Dummies Questions & Answers
hi guys,
I am generating a file from datastage (an etl tool).
Now the file is having some junk characters like ( Á,L´±,ñ and so on)..
I want to use the grep function to figure out all the junk characters and their location.
Can somebody help me out in finding it out.. if possible i... (1 Reply)
Discussion started by: mac4rfree
1 Replies
6. Shell Programming and Scripting
Urgently ur help is needed.
Actually my req is i have an input file, that input file may have junk characters (^M, ^Z) etc...
eg:
cat file
name abc^Z addres
name2 msdmskd^Z address2
I want to validate the record and display where exactly this junk character resides.
I want to... (3 Replies)
Discussion started by: help_scr_seeker
3 Replies
7. UNIX for Dummies Questions & Answers
Hi
I have to remove the junk characters from my file. Please help..
File content :
CURITY_CODE_GSD) FROM� DL_CB_SOD_EOD_VALUATION WHERE� ASOF (1 Reply)
Discussion started by: arukuku
1 Replies
8. Solaris
Hi,
I rebooted a Solaris 11 box and after that date stamp is coming in junk in almost all directories.
root@tstilp05 # ls -l
total 112
drwxrwxr-x 9 root sys 19 juin 1 03:10 adm
drwxr-xr-x 6 root sys 6 sept. 19 2012 ai
drwxr-xr-x 3 root bin ... (3 Replies)
Discussion started by: solaris_1977
3 Replies
9. Shell Programming and Scripting
Hi
I have a list a filename in a directory starting with particular pattern
for example:
abc_1234.txt
abc_7565.txt
abc_7676.txt
abc_7765.txt
i need to rename all these files by appending bck. or bck_
Expected output:
bck.abc_1234.txt
bck.abc_7565.txt
bck.abc_7676.txt... (1 Reply)
Discussion started by: Little
1 Replies
10. UNIX for Beginners Questions & Answers
Hi All,
I have a issue that we are getting Junk characters from source and i am not able to load that records to Database.
Line breakers
Junk Characters (Â and different every time)
Japanese Characters
Every time I am using grep command and awk -F "\007" to find them and delete that... (1 Reply)
Discussion started by: spradeep86
1 Replies
LEARN ABOUT DEBIAN
grdedit
GRDEDIT(l) GRDEDIT(l)
NAME
grdedit - Modifying the header in a 2-D grdfile
SYNOPSIS
grdedit grdfile [ -A ] [ -Dxunit/yunit/zunit/scale/offset/title/remark ] [ -Rwest/east/south/north[r] ] [ -S ] [ -V ]
DESCRIPTION
grdedit reads the header information in a binary 2-D grdfile and replaces the information with values provided on the command line [if
any]. As an option, global, geographical grids (with 360 degrees longitude range) can be rotated in the east-west direction. grdedit only
operates on files containing a grdheader.
No space between the option flag and the associated arguments. Use upper case for the option flags and lower case for modifiers.
grdfile
Name of the 2-D grdfile to modify
OPTIONS
-A If necessary, adjust the file's x_inc, y_inc to be compatible with its domain (or a new domain set with -R). Older gridfiles (i.e.,
created prior to GMT 3.1) often had excessive slop in' x_inc, y_inc and an adjustment is necessary. Newer files are created cor-
rectly.
-D Give new values for xunit, yunit, zunit, scale, offset, title, and remark. To leave some of the values untouched, specify = as the
new value.
-R west, east, south, and north specify the Region of interest. To specify boundaries in degrees and minutes [and seconds], use the
dd:mm[:ss] format. Append r if lower left and upper right map coordinates are given instead of wesn. The new w/e/s/n values will
replace those in the grid, and the x_inc, y_inc values are adjusted, if necessary.
-S For global, geographical grids only. Grid values will be shifted laterally according to the new borders given in -R.
-V Selects verbose mode, which will send progress reports to stderr [Default runs "silently"].
EXAMPLES
Let us assume the file data.grd covers the area 300/310/10/30. We want to change the boundaries from geodetic longitudes to geographic and
put a new title in the header. We accomplish this by
grdedit data.grd -R-60/-50/10/30 -D=/=/=/=/=/"Gravity Anomalies"/=
The grid world.grd has the limits 0/360/-72/72. To shift the data so that the limits would be -180/180/-72/72, use
grdedit world.grd -R-180/180/-72/72 -S
The file junk.grd was created prior to GMT 3.1 with incompatible -R and -I arguments. To reset the x- and y-increments we run
grdedit junk.grd -A
SEE ALSO
gmt(1gmt), grd2xyz(1gmt), xyz2grd(1gmt)
1 Jan 2004 GRDEDIT(l)