Programming :: Setting No Case Sensitivity In As?

Jul 9, 2011

GNU assembler 2.17 (invoked as 'as').

Is there a way of setting no case sensitivity in as?

View 3 Replies


ADVERTISEMENT

General :: Turn Off Terminal Case Sensitivity?

Sep 19, 2010

As above can I turn Case Sensitivity off for terminal in linux?

View 3 Replies View Related

General :: Disable Case Sensitivity For Slackware?

Feb 19, 2010

How you disable it? it makes no sense you have to type all those non capital and capital letters just to access a directory correctly.

in windows you just type the name and it detects whatever you type capital or not...

View 3 Replies View Related

OpenSUSE Install :: Pam_ldap Username Case Sensitivity On 11.2

Sep 8, 2010

It seems pam_ldap in 11.2 is not case insensitive anymore when it comes to checking usernames with uid from ldap.It is working fine on 11.1 though (both systems with latest updates up to now)(I didn't try 11.3 yet)On our ldap server (which is out of my control), the usernames are not unified, some are all in lowercase and some are capitalized, but on our Linux servers we have all usernames in lowercase.

Since our upgrade to 11.2, the users that their uid on ldap server does not match exactly to the username on Linux servers can not login anymore. Is there any option to change this behavior and force pam_ldap to be case-insensitive or convert uid/usernames to lowercase?
or all of a sudden pam_ldap decided to become case sensitive!?

View 1 Replies View Related

General :: Flag - Option To Discard Case Sensitivity To Find Package Installed Or Not?

Aug 25, 2009

Is there a flag or option to discard case sensitivity to find whether package is installed or not?

from http://www.rpm.org/max-rpm/s1-rpm-query-parts.html

Quote:

Note, however, that RPM is a bit picky about specifying package names. Here are some queries for the C library that won't work:

Code:
rpm -q libc-5.2.1
Let say I want to find out whether PyQt is installed or not but not sure the exact case, i.e. pyqt or Pyqt or ....

is there a way to find whether a package is installed or not without knowing its case exactly?

View 1 Replies View Related

Programming :: Perl Switch Statement Throwing Error Like Bad Case Statement (invalid Case Value)?

Oct 6, 2010

I've written a simple perl code to learn switches in perl.My code is pasted below,

#!/usr/bin/perl
$opt = 1;
switch($opt) {

[code]...

View 3 Replies View Related

General :: Vim: Setting Case Insensibility In Searches?

Jul 27, 2010

Linux kernel 2.6, Slackware 12.0

How do I set case insensibility in searches running vim? I thought I could find this in the manual or the in browsing help within the program itself, but it was not long before I realized I was mistaken.

View 5 Replies View Related

General :: Setting Up The Alternative Ad-hoc Connection In Case Primary Wireless Fails?

Jul 2, 2011

I have a device that is only accessible using wireless. By default it starts an ad-hoc wireless I can connect to. The problem is there is no internet access on the ad-hoc. So I'm connecting it to my router using the commands (its a gnu/linux):

iwconfig ath0 mode managed essid "ESSID"
ifconfig ath0 192.168.1.25 netmask 255.255.255.0 up
route add default gw 192.168.1.1

I want to add it to start up script but I don't want to get locked out of the device forever if something happens to the router (its really old). Is there any way to check if the connection failed and create an ad-hoc instead if it failed?

View 1 Replies View Related

Slackware :: Mkisofs -iso-level 1 Converts To Lower Case Instead Of Upper Case?

Oct 28, 2010

Kernel 2.6, Slackware 12.0
mkisofs 2.01

I do 'mkisofs -iso-level 1 -o image John Smith.txt'. Only an example. When I mount image, ls outputs john_smi.txt. So it has shorten to 8.3 and translated ' ' into '_'. This is in accordance with the manual, although it doesn't say the conversion will be done.

Quote:

-iso-level level
.........................
With all iso9660 levels from 1..3, all filenames are restricted to upper case letters, numbers and the underscore (_).
...........................

However, as it did not reject the file name, it should have converted it to all upper case, it seems to me. And -iso-level 2|3 does the same thing.

Code:

root@darkstar:~# mkisofs -iso-level 1 -o image John Smith.txt
Total translation table size: 0
Total rockridge attributes bytes: 0
Total directory bytes: 0

[code]....

View 5 Replies View Related

Programming :: Generic Case In C ?

May 14, 2010

As you know that GNU-C provides qsort() function in <cstdlib> in this prototype

Code:

You may know about Selection Sort Algorithm already, I want to write a function to perform Selection Sort but it can apply generally for many type: int, long, float, double... like qsort() above.

View 14 Replies View Related

Programming :: BASH - Regex In A Case Statement?

Jun 9, 2010

the following works and BASH doesn't complain, but VIM highlights the closing square bracket is if it sees a syntax error. Is there a better way to express regex in a case statement or is this an issue with VIM?

Code:
#!/bin/bash
case $1 in

[code]...

View 3 Replies View Related

Programming :: C# Control Cannot Fall Through From One Case Label To Another?

Feb 27, 2011

I'm having this problem with this piece of code, and i don't really get what the problem is, maybe is because i am already too sleepy to concentrate enough but maybe

switch(plazo){
case 1:
plazo = 12;

[code]....

View 3 Replies View Related

Programming :: Change Variable In Case Command?

Aug 7, 2010

I want to display 4 options using the case command and refresh the screen when options 1 and 2 are chosen (no changes to the options and you get asked again to chose option), but give a message for option 3 and exit on option 4. I set this up with the script below, but choosing option 1 works and choosing option 2 exits the script.

Code:

#!/bin/bash
#testing options
Option="0"

[code]....

View 7 Replies View Related

Programming :: Escape '*' In Case Statement Bash

Jan 23, 2010

Does it possible to escape * in the case statement

Code:

View 2 Replies View Related

Programming :: Any Option To Make GCC Case Insensitive

Jul 11, 2010

I am working with a third party that use windows to compile. When we port that code I am running into a lot of case issues where the includes are not case sensitive. Is there any option in GCC to make it case insensitive. I know its a long shot, as I have done reading and does not seem so.

View 1 Replies View Related

Programming :: Change To Lower Case And Concatenate The First And Last Names?

Nov 28, 2010

I have a file like below. For all the lines (except for the ones listed as 'Unknown Owner' and N/A') I would like to change to lower case and concatenate the first and last names.Before:

Code:
aaa.bbb.ccc.ddd,Unknown Owner
ddd.eee.fff.ggg,N/A
hhh.iii.jjj.kkk,John Doe
aaa.bbb.ccc.ddd,Mary Jane

[Code]...

View 4 Replies View Related

Programming :: Case Statement Passing Multiple Arguments?

Aug 7, 2010

I've started dabbling with the case statement in order to pass some option's arguments into variables. I do not think I am doing this right.

Code:

usage() {
echo "Usage: $0 [-z|--snooze] [-c|--channel] [-p|--playlist]
[-m|--message] [-v|--mpcvolume]"

[code]....

As you can see, I want to pass arguments depending on the option(s) chosen by the user; ie. --snooze, or --channel. By default, if no options are chosen, I'll display a usage message; though in the future I'll provide some sane defaults. I'd like to create a case statement to handle passing arguments to any number of options; something like:

Code:

wakethehellup.sh --snooze 20 --message 'wake up!'

and for the other arguments, it would have a default set. The case statement I provided fails with a syntax error "syntax error near unexpected token `$2'" near the '--snooze' in the statement, so I take it you can't pass a parameter in this way; but I'm confused as to how I'm supposed to pass different parameters to different options without the options being confused as parameters.

View 2 Replies View Related

Programming :: Certain Book Search - Checking Of Case Insensitive

Jan 19, 2010

I am trying to do a search for the certain books, and I am trying to make it case insensitive. what I have come up with so far is this :

Code:
Database.txt
RETARDED MONKEY:RACHEAL ABRAHAML:30:30:20
GOLD:FATIN:23.20:12:3
StUPiD:JERLYN:20:40:3

Code:
echo -n "Title: "
read Title
echo -n "Author:"
read Author
echo ""
valuecheck='grep -i "$Title" Database.txt | grep -i "$Author" | awk -F":" '{ print $1}''
echo $valuecheck
if [ $Title = $valuecheck ] ; then
echo "HOHOHO"
else
echo "too bad"
fi

The issue which I am having is that, when it does the search for the correct row to be inputted into valuecheck, it will input the value as written in the database, which is in Uppercase. For this case, if I type in stupid for $Title and jerlyn for $Author, it searches the correct row, but the awk will print "STUPID" into the variable as that is what is written in the database. So how can I make my if statement case insensitive? Currently it reads like this:

Code:
if [ $Title = $valuecheck ] ; then
which means
if [stupid = StUPiD ] ; then

How can I make the if statement it case insensitive to allow it to display "HOHOHO"

View 5 Replies View Related

Programming :: Do Not Miss Any Cases While Making The Test Case Doc?

Jul 28, 2010

Few months back I learnt a *few* concepts about bits/bytes and started writing a program for bit packing in C++. Now that program has grown upto 600 lines and I am still working on it. Yesterday I realized I missed some special cases due to which the program was malfunctioning. Now I have modified the program and it is working properly but I think If I would have designed all the possible test cases before writing the code, I would have finished the program long ago.

I. What is proper way to design the test cases before coding?

II. How should I make sure that I do not miss any cases while making the test case doc. ?

III. Does writing test cases prior to coding solve messy code issues or should I consider something else ?

View 8 Replies View Related

Programming :: Ignore Case In If Statement Shell Scripting

Feb 3, 2010

How do i make my strings case-insensitive while comparing them with an if statement?

View 2 Replies View Related

Programming :: No Debugging Symbols Found (not The Simple Case)?

Jan 6, 2011

I wasn't sure where to put this so if I need to move it just let me know.I have a strange problem that I cannot figure out. When I use gdb to debug our rpm-installed program, it says (no debugging symbols found) when it loads. Thing is, when I use nm on the program it can print the symbols, and even stranger is if I use gdb on the program before it is packed up by rpmbuild it loads the debug symbols just fine.Our program is built via the standard make using:GS=-g -Wall-pedantic and as I mentioned I can debug the resulting program. After the build, I package it up using:

cmd="rpmbuild -v -bb ptsnmp.spec --define "ver ${cmvc_release}" --define "rel ${cmvc_level}" --define "_topdir $rpmdir""When this package is installed via rpm, the binary on the machine shows all the debug info via nm, file shows it is not stripped:pt_snmp: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not strippedyet when I try to debug it I get the no debugging symbols found.This is really taxing my brain and I am sure I am just missing something

View 4 Replies View Related

Ubuntu :: Error - Set A Valid User Name Consisting Of A Lower Case Letter Followed By Lower Case Letters And Numbers

Mar 12, 2010

I tried to add my wife , and when I put in a password for her, this error comes up."Please set a valid user name consisting of a lower case letter followed by lower case letters and numbers." I did all that and I still can't set a password for her.

View 3 Replies View Related

Ubuntu :: Mouse Sensitivity Not Adjusting - How To Fix It

Feb 16, 2010

Using a new Ubuntu 9.10 install with Wubi. I go into System > Preferences > Mouse and adjust the sensitivity bars and acceleration with no effect. Anyone got an idea for how to adjust this? It's too slow.

View 1 Replies View Related

Ubuntu :: How To Turn Mouse Sensitivity Down

Apr 4, 2010

Having the hardest time turning the mouse sensitivity down in xfce. Various xset settings make no real difference. I move the mouse under an inch and it covers the entire screen easily. razertool-gtk won't recognize my mouse (also, I couldn't find any documentation at all for it, but maybe I'm just dumb), the xfce settings don't lower it enough, and the last thing I was going to try was to edit my xorg.conf. I though there was supposed to be a mouse section there, and this is all I have in my xorg.conf file:

Code:
Section "Screen"
Identifier "Default Screen"
DefaultDepth 24
EndSection

Section "Module"
Load "glx"
Disable "dri2"
EndSection

Section "Device"
Identifier "Default Device"
Option "NoLogo" "True"
Driver "nvidia"
EndSection

View 5 Replies View Related

Ubuntu :: 10.04 - Mouse Sensitivity Too High

Aug 11, 2010

The mouse sensitivity in Ubuntu is a little too high, and no matter how I set the mouse settings its either too sensitive or too slow...or too fast. I have tried many times to find the correct mouse settings adjusting both acceleration and sensitivity but nothing seems to be good. I've tried both my Microsoft mouse and Logitech MX Performance mouse and the same problem is apparent on both. Is there a bug with Ubuntu's mouse settings or something (I'm sure I heard about it some time ago - that the sensitivity settings aren't working exactly as they should be?), and is there any way around it? (or at least, be able to set good settings some how).

View 1 Replies View Related

Ubuntu :: Set The Mouse Acceleration / Sensitivity

Dec 22, 2010

I'm using ubuntu. Is it possible to set the mouse acceleration/sensitivity to a value beyond the maximum that is available through System->preferences->mouse ?

View 4 Replies View Related

Ubuntu :: Can't Find Where To Adjust Sensitivity

Apr 3, 2011

I'm having trouble with my mouse wheel. On one click, it pulls down to the halfway point. This leaves me with either dragging the bar around on the right hand side, or using the touch pad. this is a new (to me) notebook, which I haven't had for long. I just can't find where to adjust the sensitivity.

View 1 Replies View Related

Ubuntu :: Decrease The Sensitivity Of The Track Pad?

May 19, 2011

The track pad on a Macbook Pro 8.3 is hypersensitive and interprets the lightest touch as a click. Even brushing the track pad with the sleeve of my shirt counts as a click. How do I decrease the sensitivity of the track pad?

View 3 Replies View Related

Software :: Mouse Sensitivity Is Very Slow?

Dec 12, 2010

After these last bunch of updates, the mouse sensitivity setting is inversed...

View 2 Replies View Related

Ubuntu :: Pressure Sensitivity Only Works For One Program?

Jan 10, 2010

I have a Wacom Bamboo Fun tablet, which as far as I know, is supported. The pressure sensitivity works well on GIMP, then I noticed that it doesn't seem to work in any of the other graphics programs I tried using. Like Pencil animation. (which I know supports pressure sensitivity)

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved