Need some help.
I need to load data into some Oracle tables and one of the pieces of data that I need to load is the filename. This filename is distinct every single time. Basically the last 6 characters will be different with no pattern.
ex. testfile_041504_003567
To load the filename... (4 Replies)
Hi
The following code seems to work, but why am i getting an error message?
cscyabl@comet:(develop)> awk 'BEGIN {FS="|"}{print $2 >> $1}' test.sum
awk: A print or getline function must have a file name.
The input line number is 8. The file is test.sum.
The source line number is 1.
... (2 Replies)
I am trying to write a script that prompts users for date and time, then process the gzip file into awk. During the ksh part of the script another file is created and needs to be processed with a different set of pattern matches then I need to combine the two in the end. I'm stuck at the part... (6 Replies)
I have created a nawk program and passing a file as an input parameter.
The filename will be /home/dir/ksh/test.out
I need to extract the filename alone. Is there anyway to get this ?
Input : /home/dir/ksh/test.out
Output -1: test.out
Output -2 : t
Input :... (1 Reply)
i need to use awk to replace string in file.
if suppose filename is abcd.dat i need to replace in file
california with CA
else
if file name name is cdef.dat i need to replace in file
california with CALI
i need to use awk(must)
any suggestion how can i do that
file structure
... (3 Replies)
Hi,
i have files which contains list of csv file names
say temp.txt contains below like data
Dns_bangalore_08172011.093033.1139.csv
Dns_bangalore_08172011.093133.1139.csv
now i want to insert some string before .csv in the filename
say i want to insert string _sim1 beofre .csv... (3 Replies)
My file looks something like this:
infile.seq
I need to include the filename in each identifier, without the extension, and number them with consecutive numbers starting with 1. So, the expected outfile should look like this:
I have been trying to modify the following code but I... (5 Replies)
I can got the filename with this script. it's only show "-" in result.
cut -d , -f7 CSV_d.* | awk 'OFS=":"{print FILENAME,substr($1,1,8),substr($1,9,2),substr($1,11,2),substr($1,13,2)}' | sort |uniq (2 Replies)
Hi there
I have the variable command below in a script to list the file name in a directory:FILEN="$(ls <PATH> | awk '{print $1}')".
When it is run, it correctly returns the following:. I would like to be able to cut the date/time portion of the filename and store it as a variable for later... (4 Replies)
on linux systems, i can do something like this:
$ JIOO=hello.one.two
$
$ awk -F"." '{print $2}' <<< "${JIOO}"
however, on older systems or other unix systems that dont have the fancy stuff this does not work.
i contemplated using "-v var="${JIOO}" but i dont think that works.
any... (7 Replies)
Discussion started by: SkySmart
7 Replies
LEARN ABOUT DEBIAN
gappletviewer
GAPPLETVIEWER(1) GNU GAPPLETVIEWER(1)NAME
gappletviewer - Load and runs an applet
SYNOPSIS
appletviewer [OPTION]... URL...
appletviewer [OPTION]... -code CODE
appletviewer [OPTION]... -plugin INPUT,OUTPUT
DESCRIPTION
The appletviewer tool loads and runs an applet.
Use the first form to test applets specified by tag. The URL should resolve to an HTML document from which the appletviewer will extract
applet tags. The APPLET, EMBED and OBJECT tags are supported. If a given document contains multiple applet tags, all the applets will be
loaded, with each applet appearing in its own window. Likewise, when multiple URLs are specified, each applet tag instance is given its
own window. If a given document contains no recognized tags the appletviewer does nothing.
appletviewer http://www.gnu.org/software/classpath/
Use the second form to test an applet in development. This form allows applet tag attributes to be supplied on the command line. Only one
applet may be specified using the -code option. The -code option overrides the URL form -- any URLs specified will be ignored.
appletviewer -code Test.class -param datafile,data.txt
gcjwebplugin uses the third form to communicate with the appletviewer through named pipes.
OPTIONS
URL OPTIONS
-debug
This option is not yet implemented but is provided for compatibility.
-encoding CHARSET
Use this option to specify an alternate character encoding for the specified HTML page.
APPLET TAG OPTIONS
-code CODE
Use the -code option to specify the value of the applet tag CODE attribute.
-codebase CODEBASE
Use the -codebase option to specify the value of the applet tag CODEBASE attribute.
-archive ARCHIVE
Use the -archive option to specify the value of the applet tag ARCHIVE attribute.
-width WIDTH
Use the -width option to specify the value of the applet tag WIDTH attribute.
-height HEIGHT
Use the -height option to specify the value of the applet tag HEIGHT attribute.
-param NAME,VALUE
Use the -param option to specify values for the NAME and VALUE attributes of an applet PARAM tag.
PLUGIN OPTION
-plugin INPUT,OUTPUT
gcjwebplugin uses the -plugin option to specify the named pipe the appletviewer should use for receiving commands (INPUT) and the one
it should use for sending commands to gcjwebplugin (OUTPUT).
DEBUGGING OPTION
-verbose
Use the -verbose option to have the appletviewer print debugging messages.
STANDARD OPTIONS
-help
Use the -help option to have the appletviewer print a usage message, then exit.
-version
Use the -version option to have the appletviewer print its version, then exit.
-JOPTION
Use the -J option to pass OPTION to the virtual machine that will run the appletviewer. Unlike other options, there must not be a
space between the -J and OPTION.
BUGS SEE ALSO AUTHOR 0.98 2010-07-05 GAPPLETVIEWER(1)