In need script for taking field's from multiple files in one directory
All files have the same "fields".
example file:
---------------------
##### TEST NAME : xxxxxxxx
##### TEST OWNER : XXXxxxxxx
##### XXX DIGIT IDENTIFIER : AAA, AAA, AAA...
I see what you mean .. thanks for the hint.
#!/bin/sh
#
echo "Please enter the word SLHNDMP SLHNDMP_VB PRGTEST_GDG or PRGTEST:"
read PASSWORD
case "$PASSWORD" in
"SLHNDMP" )
echo "Ran for SLHNDMP "
;;
"SLHNDMP_VB" )
echo "Ran for SLHNDMP_VB "
;;
"PRGTEST_GDG" )
echo...
Is there another way I can State this? It does not work the way it is. Any help would be appreciated.
#!/bin/sh
#
echo "Please enter the word SLHNDMP SLHNDMP_VB PRGTEST_GDG or PRGTEST:"
read PASSWORD
if [ PASSWORD = SLHNDMP ]; then
echo "Ran for SLHNDMP "
if [ PASSWORD = SLHNDMP_VB...
I guess I should add -- when i vi this file.. I do not see the \0 \0 in the file--
II only see them when I perform od -c on the file.
Given two equally predictive theories, choose the simpler.
Need to grep for null Characters in an acsii file.
I have a file with null characters before a bit of text im am greping for.. It is not showing up in my results.
the Null characters are hiding whats in front of them.. How can I grep for them.
Line with Null characters...
if multiple instances exsist in multiple files.. How can I return only one instance.. I did this a long time ago.. looked through man page. could not find anything.. let know.
Thanks in advance.
galger.
Need to change this script so it does not change date or permissions of file edited/copied.
and if possible- if file is being used by another process - do not touch and move on to next file.
Decription: change text within multiple files
:
# chtext - change text within multiple files
if [ $#...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.