04-08-2008
Drop the -l from ls -l -- only the file name was requested.
7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi experts,
very need help about script how to login into oracle database and select a table and append the query into a file.
i have oracle database and have a table named omc_ip with fields like host_id(varchar2(20)),ip(varchar2(10)) and update_date(date).
i want to build a script that... (15 Replies)
Discussion started by: bucci
15 Replies
2. Shell Programming and Scripting
consider this is a line A#B#C#D#E#F#G#H
note the delimeter is #
i want to cut or spilt in to fields using the delimeter # and to store in an array.
like this
array=A
array=B
array=C
array=D
array=E
and the array content should be displayed.
echo "${array}"
echo "${array}"... (5 Replies)
Discussion started by: barani75
5 Replies
3. Shell Programming and Scripting
Hi,
I am trying to do the following thing
var='date'
$var
Above command substitutes date for and in turn runs the date command and i am getting the todays date value.
I am trying to do the same thing as following, but facing some problems,
unique_host_pro="sed -e ' /#/d'... (3 Replies)
Discussion started by: gvinayagam
3 Replies
4. Shell Programming and Scripting
How to store the content from array to either "row-column" or "column-row" order? (0 Replies)
Discussion started by: kavi.mogu
0 Replies
5. Shell Programming and Scripting
Hi i am a newbie, and have trying something that looked easy at first sight.
in this script i want to delete all the files and directories in subdirectory1 (but not delete subdirectory1) and dont show any stderr or stdout messages:
i try this but the stderr and stdout is shown...and it says... (2 Replies)
Discussion started by: bash100
2 Replies
6. Shell Programming and Scripting
I want to write a unix shellScript should store the csv files. into a paticular folder (2 Replies)
Discussion started by: RaghavendraT
2 Replies
7. Shell Programming and Scripting
Why does not work a cd in a shell schript file.
How do you get to run it?
I use these code:
#!/bin/sh
cd workspace
array=($(ls -d */))
echo ${array}
But it doesn't change to workspace
editby bakunin: please user CODE-tags as required by the rules. Thank you. (12 Replies)
Discussion started by: Linuxmann
12 Replies
LEARN ABOUT OSF1
xmdroptransferstart
XmDropTransferStart(3X) XmDropTransferStart(3X)
NAME
XmDropTransferStart - A Drag and Drop function that initiates a drop transfer
SYNOPSIS
#include <Xm/DragDrop.h>
Widget XmDropTransferStart (widget, arglist, argcount)
Widget widget;
ArgList arglist;
Cardinal argcount;
DESCRIPTION
XmDropTransferStart initiates a drop transfer and uses the specified argument list to initialize an XmDropTransfer object. The DropTransfer
object can be manipulated with XtSetValues and XtGetValues until the last call to the XmNtransferProc procedure is made. After that point,
the result of using the widget pointer is undefined. The DropTransfer object is freed by the toolkit when a transfer is complete. Speci-
fies the ID of the DragContext widget associated with the transaction Specifies the argument list Specifies the number of attribute/value
pairs in the argument list (arglist)
For a complete definition of DropTransfer and its associated resources, see XmDropTransfer(3X).
RETURN VALUE
Returns the ID of the DropTransfer widget.
SEE ALSO
XmDragContext(3X), XmDropTransfer(3X), XmDropTransferAdd(3X)
XmDropTransferStart(3X)