Additionally how to handle this scenario
I have input file like this
Code:
update tablename set column1='ABC',column2='BBC' where columnx=1 and columny=100 and columnz='10000001'
update tablename set column1='ABC',column2='BBC',column3='CBC' where columnx=1 and columny=100 and columnz='10000002'
update tablename set column1='ABC' where columnx=1 and columny=100 and columnz='10000003'
update tablename set column1='ABC',column2='BBC',column3='EBC',column4='GBC' where columnx=1 and columny=100 and columnz='10000004'
update tablename set column1='ABC',column2='BBC',column3='FBC' where columnx=1 and columny=100 and columnz='10000005'
I need like this
Code:
update tablename set column1='ABC',column2='BBC' where columnx=1 and columny=100 and columnz='11000001'
update tablename set column1='ABC',column2='BBC',column3='CBC' where columnx=1 and columny=100 and columnz='11000001'
update tablename set column1='ABC' where columnx=1 and columny=100 and columnz='11000001'
update tablename set column1='ABC',column2='BBC',column3='EBC',column4='GBC' where columnx=1 and columny=100 and columnz='11000001'
update tablename set column1='ABC',column2='BBC',column3='FBC' where columnx=1 and columny=100 and columnz='11000001'
I work on a UNIX HP 10.20 system that recently crashed. I am new with UNIX but I pick things up quick. The system I work on consists of two computers with the same basic hardware config. I have been having trouble loading the program software it uses, NOT the UNIX software, so I used the a... (1 Reply)
Hello,
I want to write a ksh script about changing UID and changing group with GID. There are multiple servers i want to perform that job.
linux1
linux2
linux3
linux4
linux5 ......
.
.
.
.
.
1.) How can i enter "password" in script rather asking me?
I was trying this...
ssh... (2 Replies)
Hi all, im new to awk and would apreciate if you could tell me how to do this, i have a file with several entries like this:
2008-09-09 21:57:45 44 403 CUSTOM_EVENT Upgrade - end1
2008-09-09 21:57:46 45 403 CUSTOM_EVENT Component Check - start... (3 Replies)
Dear friends,
My requirement below-
1] I have a zip file on unix server - ETL_Extracts_20100218175009.zip which is composed of various entity extracts namely... ENTITY1.txt, ENTITY2.txt, ENTITY3.txt etc....
How do I unzip only a single file ..say ENTITY2.txt from this zip file.
CAn you... (2 Replies)
Hi just learning Unix in college now and this is my first post here, so I dunno if this goes here, or in the homework section technically.
Anywho, trying to change all the / in a file into - using vi...
i went into the command prompt, and put in :%s///-/g and it comes up with E488: Trailing... (2 Replies)
Hi I want to replace single quote with two single quotes in a perl string.
If the string is <It's Simpson's book> It should become <It''s Simpson''s book> (3 Replies)
Hi,
I have a requirement with,
No~Dt~Notes
1~2011/08/1~"aaa
bbb
ccc
ddd
eee
fff
ggg
hhh"
Single column alone got splitted into multiple lines.
I require the output as
No~Dt~Notes
1~2011/08/1~"aaa<>bbb<>ccc<>ddd<>eee<>fff<>ggg<>hhh"
mean to say those new lines to be... (1 Reply)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Make “hardlink” readable, writeable, executable by you, but not readable, writeable, executable by anyone else.... (4 Replies)
Hi,
I have 2 csv/txt files with single columns. I am trying to merge them using paste, but its not working..
output3.csv:
flowerbomb
everlon-jewelry
sofft
steve-madden
dolce-gabbana-watchoutput2.csv:
http://www1.abc.com/cms/slp/2/Flowerbomb
http://www1.abc.com/cms/slp/2/Everlon-Jewelry... (5 Replies)
Dear all,
I have a remote CentOS7 server that has two network cards. Each card has four ports and port one of card one was defined with the IP address assigned to the server. So far, so good and it's been working for over a year. We have now got cables sorted out so there are four paths... (4 Replies)
Discussion started by: rbatte1
4 Replies
LEARN ABOUT DEBIAN
brandy
BRANDY(1) BBC BASIC V interpreter BRANDY(1)NAME
brandy - a portable BBC BASIC V interpreter
SYNOPSIS
brandy [-help] [-size SIZE] [-lib FILENAME] [-load FILENAME] [-path DIRECTORY[,DIRECTORY]...] [-quit FILENAME] [-chain FILENAME] [-ignore]
[FILENAME]
DESCRIPTION
Brandy is an interpreter for BBC BASIC V, the dialect of BASIC that Acorn Computers supplied with their ranges of desktop computers that
use the ARM processor such as the Archimedes and Risc PC, and is still in use on these and compatibles.
BASIC V is a much extended version of BBC BASIC. This was the BASIC used on the 6502-based BBC Micro that Acorn made during the 1980s.
OPTIONS -help Print a summary of these options.
-size SIZE
Set the size of the Basic workspace to SIZE bytes when starting the interpreter. The minimum size allowed is 10000 bytes and any-
thing below this value will be set to it. The maximum size is limited only by the environment in which the program is being run. The
size may have a suffix of k to denote that the size is in kilobytes or m if it is in megabytes. For example, -size 100k will set the
workspace size to 100 kilobytes (102400 bytes) and -size 8m will set it to eight megabytes (8388608 bytes).
-lib FILENAME
Load Basic library FILENAME when the interpreter starts. This option can be repeated as many times as required to load a number of
libraries. This is equivalent to typing INSTALL "FILENAME" at the interpreter's command line. The libraries are loaded in the order
given on the command line. Note that the search order is the reverse of this.
-load FILENAME
Load Basic program FILENAME when the interpreter starts.
-path DIRECTORY[,DIRECTORY]...
This specifies a list of directories that the interpreter will search when looking for libraries and programs. The directory names
are separated by commas. The pseudo-variable FILEPATH$ is set to this value.
-quit FILENAME
Load and run the Basic program FILENAME. Leave the interpreter when the program has finished running.
-chain FILENAME
Load and run the Basic program FILENAME. Remain in the interpreter when the program has finished running.
-graphics
Start the interpreter with the screen in graphics mode in versions of the program which support graphics and the screen can be in
either text or graphics modes.
-ignore
Ignore certain `unsupported feature' errors. By default the interpreter reports an error whenever it comes across a BASIC V feature
that it does not support. This option allows some unsupported features that do not affect the basic running of the program to be
ignored.
FILENAME
This is exactly equivalent to -chain.
The case of the names of the options is ignored. It depends on the operating system under which the interpreter is running as to whether
the names of files are case sensitive or insensitive.
FILES
brandy executable
/usr/share/doc/brandy/examples
example BASIC programs
SEE ALSO
/usr/share/doc/brandy full documentation
Brandy's home page
http://jaguar.orpheusweb.co.uk/branpage.html
There is some very useful documentation for the BBC Micro available on the Internet. One very good site is The BBC Lives! at:
http://www.nvg.ntnu.no/bbc/
or see http://sourceforge.net/projects/brandy/
AUTHOR
David Daniels, with contributions from Darren Salt and Colin Tuckley
REPORTING BUGS
Report bugs to the bug tracker at http://sourceforge.net/projects/brandy
COPYRIGHT
Copyright (c) 2000, 2001 David Daniels. Copyright (c) 2009, 2012 Colin Tuckley. This is free software; see the source for copying condi-
tions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
brandy 1.20pre5 10 Jun 2012 BRANDY(1)