Guys - Simple code, i am trying to get a number back from sqlplus call to a query. After that, i need to use that number in a loop.
---------------------------------
#!/bin/ksh
VALUE=`sqlplus -silent sh/password@sh <<END
set pagesize 0 feedback off verify off heading off echo off
select... (10 Replies)
Hello, I want remove ^M at end of my files line
if I use command : tr -d '\r' <inp>out it work fine
but get I the same result by manipulating the string ?
I want this because in my text file I manipulate some other part
I have input "the cat^M"
I want output "the cat"
I have made... (3 Replies)
Hi all gurus,
I need help in removing carriage return existed within a record delimited by pipe <|>.
Sample:
A_01|Test1|Testing1|Remarks1
A_02|Test2|Test
ing2|Remarks2
A_03|Test3|Testing3|
Remarks3
Desire output:
A_01|Test1|Testing1|Remarks1
A_02|Test2|Testing2|Remarks2... (10 Replies)
Hi,
I have a pipe delimited file. There are around 700 columns in the file.
The 65th column has carriage return which is causing read issue with our ETL process. I would like to replace the new line characters in 65th field with "nothing"
i have return the following code and need help to... (7 Replies)
Hi,
I try to handle very large numbers with a bash script. I run ssh command in a remote server and store the output in a local variable. But this output contains a return carriage at the end. So I try to remove it by tr But I can't figure out the right notation with printf. So my problem... (6 Replies)
I need to remove the carriage return comes inbetween the record.
Need to have CR only at the end.
I used the below command.
tr -d '\n' < filewithcarriagereturns > filewithoutcarriagereturns
But its removing all the CR and giving one line output.
Input File:
12345
abcdegh... (11 Replies)
How to remove Carriage Return (CRLF) within double quotes in a file. There are multiple CRLFs within double quotes. We are on Ubuntu 14.04.2 LTS.
The file that we are importing is a csv file from unix to windows and the file was formatted to unix2dos. Therefore all lines in the file all have... (12 Replies)
I need to remove new lines and carriage returns from csv file.
Is there anything other than sed and gwak by which we could achieve this ? Any suggestions ? (3 Replies)
Hi All,
My requirement is to remove the carriage return in from the lines which i am reading if the length is lesser than 1330 and append the next line with it. Below is the realistic example of file structure.
Input file:
Blah blah blah blah Blah blah blah blah
Blah blah blah blah Blah... (16 Replies)
Discussion started by: mad man
16 Replies
LEARN ABOUT SUNOS
wnnotow
wnnotow(1) User Commands wnnotow(1)NAME
wnnotow - User dictionary converter
SYNOPSIS
/usr/bin/wnnotow [-i input_file] [-f format_file] [-o output_file] [-l log_file] [-h frequency_value]
DESCRIPTION
wnnotow converts a text dictionary created with another Japanese input system (ATOK7, ATOK8, cs00,EGBRIDGE, VJE-Delta) to the Wnn6 text
dictionary format.
OPTIONS
The following options are available.
-i input_file Specifies the name of the dictionary text to be converted. The text code must be EUC. The standard input is read if this
option is omitted.
-f format_file Specifies the name of the file defining the format used in the input file. The text code must be EUC. The format files cor-
responding to each FEP are as follows.
Directory: /usr/lib/locale/ja/wnn/ja/otow.format/
Files: atok7-wnn6.fmt (ATOK7) atok8-wnn6.fmt(ATOK8) cs00-wnn6.fmt(cs00) egbridge-wnn6.fmt(EGBRIDGE) vje-
wnn6.fmt(VJE-Delta)
The ATOK7 format is used if this option is omitted.
-o output_file Writes the conversion results in the specified file. The output character code must be Japanese EUC. The output is written
to the standard output if this option is omitted.
-l log_file Specifies the name of the log file to save error information if unconvertable words are found. The output character code
must be Japanese EUC. No log file will be created if this option is omitted.
-h frequency_valSpecifies the frequency value to applied for the output file. A frequency value of 1 will be applied if this option is
omitted.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|Availability |SUNWjwncu |
+-----------------------------+-----------------------------+
SEE ALSO wnnatod(1), wnndictutil(1)SunOS 5.10 2 Mar 1998 wnnotow(1)