Hello,
I would assume the expression ^$ should match a null string. Yet when I run:
echo -n | sed 's/^$/nullstring/'
I get no output.
Can anyone tell me why? (6 Replies)
I'm using the URL Regex feature of Squid for allowing sites via a list of regex strings to match allowed domains. The regex was actually copied from our previous proxy solution and it seemed to "just work". But, we've recently discovered that some domains (likely due to virtual hosts or host... (2 Replies)
Hi ,
I am very new to unix as well as shell scripting. I have to write a script for the following requirement.
In a particular mount, have to list all the directories and sub directories along with size of the directory and sub directory in ascending order.
Please help me in this regard and many... (4 Replies)
Hi,
Please help me, how to get all the direcotries, its sub directories and its sub directories recursively, need to exclude all the files in the process.
I wanted to disply using a unix command all the directories recursively excluding files.
I tried 'ls -FR' but that display files as... (3 Replies)
Hi,
I need to find the list of matching direcories in current folder only and no subfolders on AIX.I tried -maxdepth option but its not working.
Also, tried ls -d option to list the matching directories but getting argument list too long...
So, any help would be appreciated. (6 Replies)
I have a variable strLst containing a list of strings. I want to create a function that takes the list and an error message. If the number of strings is 0 or greater than 1, I print the error message. (1 Reply)
Can anyone come up with a unix command that lists
all the files, directories and sub-directories in the current directory
except a folder called log.?
Thank you in advance. (7 Replies)
I am trying to eliminate an error message from a script. This is the error message:
find: stat() error /usr/openv/netbackup/db/images/KUMAX: No such file or directory
if ];
then
runthiscommand=`su nxadm -c "ssh -t $new3 exec /bin/sh -s">/tmp/filew3 2>/tmp/error.txt<<EOF
... (1 Reply)
It is for HP-Unix B.11.31.
Requirement:
1. List the directories, having given pattern in the directories name, sorted by creation date.
Example: Directories with name "pkg32*" or "pkg33*"
2. On the output of 1. list the directories by creation date as sort order, with creation date... (2 Replies)
Hi All,
I am new to shell scripting. I have a requirement as part of my job to find out null/empty values in column 2 and column 3 from a CSV file and exit the further execution of script by displaying a simple error message.
I have developed a script to do this by reading various articles... (7 Replies)
Discussion started by: tpk
7 Replies
LEARN ABOUT DEBIAN
findtags
FINDTAGS(1p) User Contributed Perl Documentation FINDTAGS(1p)NAME
findtags - find tags in Interchange catalogs and directories
SYNOPSIS
findtags -a -d lib/UI
findtags -a -d lib/UI -t -u
findtags -a -u -t
DESCRIPTION
Find tags in Interchange catalogs and directories -- intended to develop a list for TagInclude.
WARNING: This is not 100%, for developing tag names from Variable definitions and other sources can fool it. If you include all
directories, make sure you don't include documentation files or the usertags themselves.
With the standard distribution, this should find just about all tags needed:
findtags -a -d lib/UI
To develop a TagInclude statement which excludes unused tags, try:
findtags -a -d lib/UI -t -u
If you don't want to use the UI, then do:
findtags -a -u -t
OPTIONS -a Look in all catalogs.
-c CAT
Only look in catalog CAT.
-d DIR1 DIR2 ....
Look in given directories.
-f FILE
Use alternate interchange.cfg file FILE.
-h Display help.
-n Don't report system tags.
-t Output suitable for TagInclude directive.
-u Report unseen tags.
-v Slightly verbose, report directories scanned.
-x DIR1 DIR2 ....
Exclude given directories from scanning. Default is session and tmp.
perl v5.14.2 2012-01-23 FINDTAGS(1p)