Hi,
I am newbie in UNIX so please excuse for my questions.
Is there a a way to search for string in files within folder and sub folder in particluar file extensions.
Ex. search for ABC in folder 'A'(including it's sub folders) in html, xml files.
Thanks,
Ani (2 Replies)
Hi need to know if we can write a shell script to find files for a particular format;s ie both .csv and .txt in a particular folder and then copy them to a new folder on a dialy basis. Does anyone know how this can be accomplished?
Thanks,
Sandeep (20 Replies)
Greetings to All ... :b:
I have one root folder containing different other folders within it.
I need to get the list of all different types of file extensions residing in those folders.
Could anyone help me providing some shell script? (1 Reply)
Greetings to all!!:b:
I have one root folder containing several other folders inside it. This tree structure is deep. And the files are of similar extension.
I need to start at the top level and recursively search and rename all the files with say .a extension to .b .
This is the code to... (7 Replies)
unix program to which a directory name will be passed as
parameter. This directory will contain files with various
extensions. This script will create directories with the names of the
extention of the files and then put the files in the
corresponding folder. All files which do not have any... (2 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)
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'm afraid this is a silly question but I can't figure it out.
I have a script like so...
echo "Enter DRDL Signature Version Number"
read DRDL_Number
mv signature_output.csv SERVICE_OBJECTS_S-$DRDL_Number.csv
The resultant filename does not contain the .csv as follows.... (3 Replies)
I have a specific set (all ending with .bam) of downloaded files in a directory /home/cmccabe/Desktop/NGS/API/2-15-2016. What I am trying to do is use a match to $2 in name to rename the downloaded files. To make things a more involved the date of the folder is unique and in the header of name... (1 Reply)
Discussion started by: cmccabe
1 Replies
LEARN ABOUT LINUX
sage
sage(3) Library Functions Manual sage(3)NAME
sage - The SDL library for OpenGL extensions.
DESCRIPTION
#include <sage/sage.h>
Sage is a small C library providing Open GL extensions to applications using SDL. It has been automatically generated from the glext.h
header file from the OpenGL website. The Sage source package comes with the Perl scripts to generate new sources from updated glext.h
files.
Additionally, it provides a way of accessing the standard GL and GLU headers in a cross platform method. sage/GL.h and sage/GLU.h should be
used in place of gl/GL.h and gl/GLU.h (or the equivalent on other platforms.)
To use Sage, an application must first call sage_init once the OpenGL context has been created. This checks for the existence of each
extension it knows about and links up the appropriate function pointers. The array sage_ext sets each exension that is found to 1, and 0
otherwise. Applications should check the existence of the extension in sage_ext before using it.
Extensions can then be used by their name as defined in the spec.
BUGS
Sage does not check to see of the OpenGL context is valid.
On some systems, the standard Open GL header causes problems with sage (namespace conflicts).
Apparently some broken GL implmentations may report the existence of an extension, but not actually provide it. Sage will not detect this.
AUTHOR
Simon Goodall (simon (at) simongoodall.co.uk)
SEE ALSO sage_init(3)
September 22, 2005 sage(3)