10-28-2014
HI Thanks,
But i have no perl editor
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need a better way to read the first character of each line in a file and check if it equals the special character ¤. This character tells me where there is a break in the reports. The file has over 500,000 lines. Currently, this is my code -
if ]
I am using Korn Shell as a scripting... (7 Replies)
Discussion started by: azelinsk
7 Replies
2. UNIX for Dummies Questions & Answers
im having trouble doing this:
i have a variable with 2 characters repeating e.g. aababbbaaaababaabbaabbba
is there a way i can search the variable for a's and b's and then change a's to b's and b's to a's?
im guessing its like getting the 1's compliment of the string
im doing this in... (2 Replies)
Discussion started by: vipervenom25
2 Replies
3. Shell Programming and Scripting
Can someone help me to write a script / command to read in a file, character by character, replace any unknown ASCII characters with space. then write out the file to a new filename/
Thanks! (1 Reply)
Discussion started by: raghav525
1 Replies
4. Shell Programming and Scripting
I have a text file like this
...
B 16 1.340E+05
A 18 3.083E+02
Wu123 1.365E+02
...
I would like to get rid of the 7th character of each line if this is a space character.
Thank you,
Sarah (5 Replies)
Discussion started by: f_o_555
5 Replies
5. Shell Programming and Scripting
hello all
i request you to give the solution for the following problem..
I want read the text file.and print the contents character by character..like if the text file contains google means..i want to print
g
go
goo
goog
googl
google
like this Using unix Shell scripting...
without using... (1 Reply)
Discussion started by: samupnl
1 Replies
6. Shell Programming and Scripting
Hi Experts,
I have called file1.txt contains below
CREATE TABLE "IHUBDEV2"."TLM_BREAK_RULES"
( "OID" VARCHAR2(32) NOT NULL ENABLE,
"TLM_PAY_CLASS_OID" VARCHAR2(32) NOT NULL ENABLE,
"PUNCHED_BREAKS" NUMBER(1,0) DEFAULT 0 NOT NULL ENABLE,
"NORMAL_BREAKS"... (3 Replies)
Discussion started by: naree
3 Replies
7. Shell Programming and Scripting
Hi,
Maybe this iscorrect forum for my question...
I should read one character at a fixed position from each line of the file. So how ??? should be substituted in the code below:
while read line ; do
single_char=`???`
echo "$single_char"
done < $input_file
OK...I did get an... (0 Replies)
Discussion started by: arsii
0 Replies
8. Shell Programming and Scripting
Hi,
My Requirement is to read the filenames which possess space charatcer in it and pass the same file name to the other shell script as input parameter.
Please provide your valuable suggestion. (5 Replies)
Discussion started by: cnraja
5 Replies
9. Shell Programming and Scripting
Hi:)
I have a large file ( couple thousand lines ) and I'm trying to add a character after the first word/space on each line.
eg:
First line of text
Second line of text
Third line of text
Fourth line of text
Fifth line of text
I'd like to accomplish:
First - line of text
Second... (8 Replies)
Discussion started by: martinsmith
8 Replies
10. Post Here to Contact Site Administrators and Moderators
I have Index Line and I tried to get the 9th character from the file and to check the character is "|" or not.
Shell Scripting.
Sample Index file.
"91799489|K8E|188.004.A.917994892.1099R.c.01.pdf|2013|10/15/2014|002|B|C|C"... (3 Replies)
Discussion started by: pavand
3 Replies
LEARN ABOUT DEBIAN
vend::table::editor
Vend::Table::Editor(3pm) User Contributed Perl Documentation Vend::Table::Editor(3pm)
NAME
Vend::Table::Editor -- Interchange do-all HTML table editor
SYNOPSIS
[table-editor OPTIONS]
[table-editor OPTIONS] TEMPLATE [/table-editor]
DESCRIPTION
The [table-editor] tag produces an HTML form that edits a database table or collects values for a "wizard". It is extremely configurable as
to display and characteristics of the widgets used to collect the input.
The widget types are based on the Interchange "[display ...]" UserTag, which in turn is heavily based on the ITL core "[accessories ...]"
tag.
The "simplest" form of "[table-editor]" is:
[table-editor table=foo]
A page which contains only that tag will edit the table "foo", where "foo" is the name of an Interchange table to edit. If no "foo" table
is "defined", then nothing will be displayed.
If the "mv_metadata" entry "foo" is present, it is used as the definition for table display, including the fields to edit and labels for
sections of the form. If "ui_data_fields" is defined, this cancels fetch of the view and any breaks and labels must be defined with
"ui_break_before" and "ui_break_before_label". More on the view concept later.
A simple "wizard" can be made with:
[table-editor
wizard=1
ui_wizard_fields="foo bar"
mv_nextpage=wizard2
mv_prevpage=wizard_intro
]
The purpose of a "wizard" is to collect values from the user and place them in the $Values array. A next page value (option mv_nextpage)
must be defined to give a destination; if mv_prevpage is defined then a "Back" button is presented to allow paging backward in the wizard.
perl v5.14.2 2011-03-09 Vend::Table::Editor(3pm)