Hi ,
I need to replace the file name extension with txt to csv,i wrote the below script when executing its giving the below error.Please anyone how to do this?
$ a2.sh
mv: *.: cannot access: No such file or directory
./a2.sh: o: bad number
$ vi a2.sh
a2.sh
-----
#!/bin/ksh
txt=$1... (4 Replies)
I am brand new to hp unix systems. I see some files without extension on this system. If I type name of the file it shows me so many detail but does not take me back to command prompt. What are these files and how do I come back to command prompt? Please help (1 Reply)
I have a bunch of bash functions in a folder (~/BASH) that I added to my $PATH so that I can call them from anywhere.
Yesterday I stripped the .sh extension from all of them so that I just type the function name without adding .sh every time. Some of the functions still work. Some of them don't... (7 Replies)
I am currently scanning a directory with a shell script to look for all files with a .sh extension. I am wondering how to make it look for more then one extension. For example all .sh, .conf, and .sql files?
Currently this is what I am doing....
find... (3 Replies)
I have a file
n06-z30-sr65-rgdt0p25-varp0.25-8x6drw-test.cmod
and I want to get the extension.
At the moment I have
set filextension = `echo $f | awk 'BEGIN {FS="."} {print $2}'`
which of course does not work as there is a point in varp0.25 (13 Replies)
trying to copy all the files without extension then add
"*.txt" but its not working is there any other way and i do not want to use
cpio -vdump just want to use copy command
FROM=/usr/share/doc
TO=/aleza/doc
#the follow function copies all the files without extensions
call(){
cd $FROM... (3 Replies)
Hi All,
I want to fetch the files based on .done file and display the .csv files and Wil take .csv files for processing.
1.I need to display the .done files from the directory.
2.next i need to search for the .Csv files based on .done file.then move .csv files for the one directory
... (2 Replies)
I currently have a code that find and zip all files in current folder and zip it, the problem is the name of the zip will include the extension as well and I don't want it.
for ex:
Volvo-red.swf -> Volvo-red.swf.zip
find . -maxdepth 1 -type f ! -name ".*" -exec bash -c 'zip -r "$0.zip"... (6 Replies)
Discussion started by: Frozen77
6 Replies
LEARN ABOUT OSF1
xkbcomp
xkbcomp(1X)xkbcomp(1X)NAME
xkbcomp - compile XKB keyboard description
SYNOPSIS
xkbcomp [-option...] keymap-source
OPTIONS
Produce a C header file as output (.h extension). Specifies top-level directories to be searched for files included by the keymap descrip-
tion. Specifies a map to be compiled from an XKB directory file (not implemented yet). Specifies a name for the generated output file.
The default is the name of the source file with an appropriate extension for the output format. Controls the reporting of warnings during
compilation. A warning level of 0 disables all warnings; a warning level of 10 enables them all. Generate a source description of the
keyboard as output (.xkb extension). Generate a compiled keymap file as output (.xkm extension).
DESCRIPTION
The xkbcomp keymap compiler converts a description of an XKB keymap into one of several output formats. The most common use for xkbcomp
is to create a compiled keymap file (.xkm extension) which can be read directly by XKB-capable X servers or utilities. The keymap compiler
can also produce C header files or XKB source files. The C header files produced by xkbcomp can be included by X servers or utilities that
need a built-in default keymap. The XKB source files produced by xkbcomp are fully resolved and can be used to verify that the files which
typically make up an XKB keymap are merged correctly or to create a single file which contains a complete description of the keymap.
COPYRIGHT
Copyright 1994, Silicon Graphics Computer Systems and X Consortium, Inc.
See X(1X) for a full statement of rights and permissions.
SEE ALSO X(1X)AUTHOR
Erik Fortune, Silicon Graphics
xkbcomp(1X)