10-24-2016
Ls command options
Hi,
If I want to list files with names containing a certain letter like " a " using just one ls command, is there any way of doing that?
Note that it is containing a letter instead of one of the following (starting, ending with a letter or having the letter in between). what I want is to show all the three combinations together using one ls command.
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
HI! All
iam using Split command to split a large .txt file in to smaller files,
The syntax iam using
split -25000 Product.txt
iam getting four output files but not in .txt format but in some other format ,
when i checked the properties the Type of the output files is Type
can any... (7 Replies)
Discussion started by: mohdtausifsh
7 Replies
2. Shell Programming and Scripting
my description from another thread...
here's my code:
#!/bin/bash
IFS=$'\n'
function OutputName() {
input=$1
echo $input
input=`echo "$input" | sed -e 's/.//'`
input=`echo "$input".avi`
output_name=$input
}
if ]; then
echo... (5 Replies)
Discussion started by: TinCanFury
5 Replies
3. HP-UX
Just I gone with the script, I found some command's options which are not compatible with " HP-UX ".
If I found any alternate commands to the following, most probably I will solve the issue here.
1. " iostat -x " --> this command's option( x ) is not available in HP-UX... (2 Replies)
Discussion started by: pk_eee
2 Replies
4. Shell Programming and Scripting
Hi
I want the 'ls' command to display only the file size,date modified and name of the file.What i could see with different options is this:
$ls -got packagecount.csv
$-rwxrwxrwx 1 393137 Aug 21 14:46 packagecount.csv
Now what should be my possible... (4 Replies)
Discussion started by: sushovan
4 Replies
5. Shell Programming and Scripting
Hi,
I am working on a Linux machine.
I need to disable 2 options from the available 6 options of a command.
For eg. in the "ls" command we have various options like "l ,r, t, a, .... "
From this, I need to disable option "a"
So when the users type in "ls -a", they should get an error or... (4 Replies)
Discussion started by: aster007
4 Replies
6. UNIX for Dummies Questions & Answers
I'm reading about debugging aids in bash and have come across the set command. It says in my little book that an addition to typing
set
you can also use them "on the command line when running a script..." and it lists this in a small table:
set -o option Command Line... (5 Replies)
Discussion started by: Straitsfan
5 Replies
7. UNIX for Dummies Questions & Answers
How can i override options of rm command ??
and how can i implement my own options
when we delete file using rm commad it will not delete file it has to move some folder....plz suggest some solution. (10 Replies)
Discussion started by: arun508.gatike
10 Replies
8. Shell Programming and Scripting
Hi,
Just some questions on the script below...?
Given: bash-2.03$ command -a option1 name1 name2
ParseOptions()
{
local Len=${#@}
local Ctr=2 #always start at 2
local Name=()
local Iter=0
while ; do
if <- Is this correct? so I can get the $2... (2 Replies)
Discussion started by: h0ujun
2 Replies
9. Shell Programming and Scripting
Hi,
I have this command in a shell script and I can get it to echo ok, but when I try to execute the command I get a "file not found" error. Which is strange because, if I copy and paste the same command at the cli it works ok.
What am I doing wrong please? (16 Replies)
Discussion started by: bbbngowc
16 Replies
LEARN ABOUT HPUX
towlower
wconv(3C) wconv(3C)
NAME
towupper(), towlower() - translate wide characters
SYNOPSIS
Remarks:
These functions are compliant with the XPG4 Worldwide Portability Interface wide-character conversion functions. They parallel the 8-bit
character conversion functions defined in conv(3C).
DESCRIPTION
and have as domain a the value of which is representable as a or the value If the argument has any other value, the behavior is undefined.
If the argument of represents a lowercase letter, the result is the corresponding uppercase letter. If the argument of represents an
uppercase letter, the result is the corresponding lowercase letter. All other arguments are returned unchanged.
Definitions for these functions, the types and the value are provided in the header.
EXTERNAL INFLUENCES
Locale
The category determines the translations to be done.
International Code Set Support
Single-byte and multi-byte character code sets are supported.
AUTHOR
was developed by IBM, OSF, and HP.
SEE ALSO
conv(3C), multibyte(3C), wctype(3C), setlocale(3C), lang(5), thread_safety(5).
STANDARDS CONFORMANCE
wconv(3C)