I need to find all the files that have group Read or Write permission or files that have user write permission.
This is what I have so far:
find . -exec ls -l {} \; | awk '/-...rw..w./ {print $1 " " $3 " " $4 " " $9}'
It shows me all files where group read = true, group write = true... (5 Replies)
Hi Guys,
I have a text file with ";" like separator
F1;F2;F3;F4;F5
444;100041;IT;GLOB;1800000000
444;100041;TM;GLOB;1000000000
444;10300264;IT;GLOB;2000000000
444;10300264;IT;GLOB;2500000000
I have to sum the cullums F5 for same F2 and F3 collums
The result must be:
... (7 Replies)
hi people;
the similar topic is being opened in here and here but i have confused with following condition. so i wanted to open a seperate topic.
from my file.txt:...
...
...
110105-16:04:04 192.168.1.1 7.1j Port_NODE_MODEL_M_1_8 stopfile=/tmp/10544... (0 Replies)
- I have two files (File 1 and File 2) and the contents of the files are mentioned below.
- I am trying to compare the values of Column1 of File1 with Column1 of File2. If a match is found, print the corresponding value from Column2 of File1 in Column5 of File2.
- I tried to modify and use... (10 Replies)
Hi All,
I have a pipe seperated file. I need to add the values in second and third columns with group by on first column.
MYFILE_28012012_1115|47|173.90
MYFILE_28012012_1115|4|0.00
MYFILE_28012012_1115|6|22.20
MYFILE_28012012_1116|47|173.90
MYFILE_28012012_1116|4|0.00... (3 Replies)
Hi,
I need a shell script, which would search the result values from another files.
1)execute " select column1 from table_name" query on the table.
2)Based on the result, need to be grep from .wft files.
could please explain about this.Below is the way i am using.
#!/bin/sh... (4 Replies)
Hi,
I was having the following issue
cat input
hello1, my name is unix.com. I am awesome. Hope you know this, hello2!
cat hello1.txt
Hi Friends
Hi Folks
Hi Well-Wishers
cat hello2.txt
Honey
Sweety
Darling
Required Output (8 Replies)
I want to replace the third and fourth lines of a 2nd file by the first two lines of a file.
Input:
file_1
file_1.line_1
file_1.line_2
file_2
file_2.line_1
<file_2.line_2_blank>
file_2.line_3
file2.line_4
<file_2.line_5_blank>
Output:
file_2.line1
<file_2.line_2_blank>... (1 Reply)
Discussion started by: arpagon
1 Replies
LEARN ABOUT CENTOS
tcl_initstubs
Tcl_InitStubs(3) Tcl Library Procedures Tcl_InitStubs(3)__________________________________________________________________________________________________________________________________________________NAME
Tcl_InitStubs - initialize the Tcl stubs mechanism
SYNOPSIS
#include <tcl.h>
const char *
Tcl_InitStubs(interp, version, exact)
ARGUMENTS
Tcl_Interp *interp (in) Tcl interpreter handle.
const char *version (in) A version string consisting of one or more decimal numbers separated by dots.
int exact (in) Non-zero means that only the particular version specified by version is acceptable. Zero means that ver-
sions newer than version are also acceptable as long as they have the same major version number as ver-
sion.
_________________________________________________________________INTRODUCTION
The Tcl stubs mechanism defines a way to dynamically bind extensions to a particular Tcl implementation at run time. This provides two
significant benefits to Tcl users:
1) Extensions that use the stubs mechanism can be loaded into multiple versions of Tcl without being recompiled or relinked.
2) Extensions that use the stubs mechanism can be dynamically loaded into statically-linked Tcl applications.
The stubs mechanism accomplishes this by exporting function tables that define an interface to the Tcl API. The extension then accesses
the Tcl API through offsets into the function table, so there are no direct references to any of the Tcl library's symbols. This redirect-
ion is transparent to the extension, so an extension writer can continue to use all public Tcl functions as documented.
The stubs mechanism requires no changes to applications incorporating Tcl interpreters. Only developers creating C-based Tcl extensions
need to take steps to use the stubs mechanism with their extensions.
Enabling the stubs mechanism for an extension requires the following steps:
1) Call Tcl_InitStubs in the extension before calling any other Tcl functions.
2) Define the USE_TCL_STUBS symbol. Typically, you would include the -DUSE_TCL_STUBS flag when compiling the extension.
3) Link the extension with the Tcl stubs library instead of the standard Tcl library. On Unix platforms, the library name is libt-
clstub8.1.a; on Windows platforms, the library name is tclstub81.lib.
If the extension also requires the Tk API, it must also call Tk_InitStubs to initialize the Tk stubs interface and link with the Tk stubs
libraries. See the Tk_InitStubs page for more information.
DESCRIPTION
Tcl_InitStubs attempts to initialize the stub table pointers and ensure that the correct version of Tcl is loaded. In addition to an
interpreter handle, it accepts as arguments a version number and a Boolean flag indicating whether the extension requires an exact version
match or not. If exact is 0, then the extension is indicating that newer versions of Tcl are acceptable as long as they have the same
major version number as version; non-zero means that only the specified version is acceptable. Tcl_InitStubs returns a string containing
the actual version of Tcl satisfying the request, or NULL if the Tcl version is not acceptable, does not support stubs, or any other error
condition occurred.
SEE ALSO
Tk_InitStubs
KEYWORDS
stubs
Tcl 8.1 Tcl_InitStubs(3)