06-14-2012
Hi,
even for .txt files i am getting error that Stat not found :-( (its not missing the folder name)
---------- Post updated at 01:28 PM ---------- Previous update was at 01:21 PM ----------
Is it possible that STAT is not installed in my system?(i read somewhere that 'to check if STAT is installed')..If it is not installed then can we get the file timestamp and append thatto record?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I need to be able to recursively find fifo files in a users home directory. What is the best way to do that. (3 Replies)
Discussion started by: frankkahle
3 Replies
2. UNIX for Advanced & Expert Users
Hello all,
I'm trying to accomplish that if a file gets written to folder /path/to/a/ it gets automatically copied into /path/to/b/ the moment its get written.
I thought of writing a shell script and cron it that every X amount of minutes it copies these files over but this will not help me... (2 Replies)
Discussion started by: Bashar
2 Replies
3. UNIX for Advanced & Expert Users
Hello Friends,
I want to merge two files in ascending order on the first field. And if the first field matches sort on 3rd field i.e, TXADDR should come ahead of RXADDR .
file1
9 : TXADDR : 00000000
65 : TXDATA 0000000000000011
83 : TXDATA 0000000000000012
453 :... (10 Replies)
Discussion started by: user_prady
10 Replies
4. Solaris
Hi all:
I have a problem with a C++ service runing on solaris 10. This service only set a signal on oracle table. When the service detect a cut off on the line (tcp/ip), trigger a cobol program for set the signal OFF. When the line is on again, the service trigger the same cobol program for set... (0 Replies)
Discussion started by: hcastellani
0 Replies
5. Shell Programming and Scripting
Hi all,
I have copied all my files to one folder.and i want to check how many files (count) in the folder recently moved or total files in my folder?
please send me the query asap. (3 Replies)
Discussion started by: durgaprasad
3 Replies
6. UNIX for Dummies Questions & Answers
Friends,
I need help with the following in UNIX.
Merge all csv files in one folder considering only 1 header row and ignoring header of all other files.
FYI - All files are in same format and contains same headers.
Thank you (4 Replies)
Discussion started by: Shiny_Roy
4 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I had a folder ABC . Was trying to move it . But the command was randomly stopped by mistake. Now , I have folder ABC in 2 location with different half data at each path . How do I merge both the folders and sub folders into a single one ?
Any help is appreciated. (2 Replies)
Discussion started by: Abhayman
2 Replies
8. Shell Programming and Scripting
Dear Friends,
I am looking for a shell script to merge input files into one file .. here is my idea:
1st paramter would be outfile file (all input files content)
read all input files and merge them to input param 1
ex: if I pass 6 file names to the script then 1st file name as output file... (4 Replies)
Discussion started by: hyd1234
4 Replies
9. Shell Programming and Scripting
I need help to write shell script to copy files from one server to another server.
Source Directory UAE(inside i have another folder Misc with files inside UAE folder).I have to copy this to another server UAE folder( Files should be copied to UAE folder and Misc files should be copied in target... (3 Replies)
Discussion started by: naresh2389
3 Replies
10. Shell Programming and Scripting
Hi Team,
I am new to shell script and there is a requirement where files should be moved from Subfolder to parent folder.
Eg:
parent folder --> /Interface/data/test/IN
Sub folder -->/Interface/data/test/IN/Invoice20180607233338
Subfolder will be always with timestamp... (6 Replies)
Discussion started by: srivarun15
6 Replies
LEARN ABOUT OPENSOLARIS
item_opts_off
menu_item_opts(3CURSES) Curses Library Functions menu_item_opts(3CURSES)
NAME
menu_item_opts, set_item_opts, item_opts_on, item_opts_off, item_opts - menus item option routines
SYNOPSIS
cc [ flag... ] file... -lmenu -lcurses [ library... ]
#include <menu.h>
int set_item_opts(ITEM *item, OPTIONS opts);
int item_opts_on(ITEM *item, OPTIONS opts);
int item_opts_off(ITEM *item, OPTIONS opts);
OPTIONS item_opts(ITEM *item);
DESCRIPTION
set_item_opts() turns on the named options for item and turns off all other options. Options are boolean values that can be OR-ed together.
item_opts_on() turns on the named options for item; no other option is changed.
item_opts_off() turns off the named options for item; no other option is changed.
item_opts() returns the current options of item.
O_SELECTABLE The item can be selected during menu processing.
RETURN VALUES
Except for item_opts(), these routines return one of the following:
E_OK The routine returned successfully.
E_SYSTEM_ERROR System error.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO
curses(3CURSES), menus(3CURSES), attributes(5)
NOTES
The header <menu.h> automatically includes the headers <eti.h> and <curses.h>.
SunOS 5.11 31 Dec 1996 menu_item_opts(3CURSES)