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
ADVERTISEMENT
Nov 27, 2010
Is there a way of making rsync (an offspring of rcp) case insensitive? Perhaps mounting the file system (not linux) in some special way?
View 14 Replies
View Related
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
Jul 9, 2011
GNU assembler 2.17 (invoked as 'as').
Is there a way of setting no case sensitivity in as?
View 3 Replies
View Related
Jul 26, 2011
I'm trying to write a script that searches my files and lists them by date. Can someone point me in the right direction? I've been looking through the books that i have but i'm just not finding the right commands to search dates.
View 7 Replies
View Related
May 20, 2010
how to write a shell script the searches for processes running on my system. I really don't know where to start. can anyone give me a hand and explain how the script works?
View 3 Replies
View Related
Mar 23, 2011
I have several directories of subtitles for some videos, but all the text for the subtitles in each file is in uppercase, and I would like to convert the files' content to lowercase, all in one go. I found on a website a bash command that would do each file separately:tr '[:upper:]' '[:lower:]' <input.txt> output.txt but of course involves specifying the input name and output name for each file.I have been trying to do it in a script that would work for all files in the current directory, without having to rename them each time, if that's possible. So far I've got the following, which doesn't work:
#!/bin/bash
for file in $@; do
tr '[:upper:]' '[:lower:]'
done
However, my web searches cannot locate a way of specifying "each file in current directory" in conjunction with the "tr" command, but also without having to rename the file once converted to lowercase. Is it possible, or would the tr command have to create a new file for each converted file?
View 3 Replies
View Related
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
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
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
May 16, 2010
I have some problem, the gparted 'searches' for ever on one disk only, even after 20-30 mins it is not finished and it has to be stopped manually.
Tried the same with debian, which has gparted 0.38, and the all works fine.
View 2 Replies
View Related
Sep 20, 2010
whenever Ubuntu boots, it searches for an external hard drive that I no longer have plugged in. It hangs on the Ubuntu load screen for a while, then says that it cannot find the drive and I have to press (S) to skip the attempt.
View 4 Replies
View Related
Mar 17, 2011
This used to work by default in previous versions of FF.
imdb $movie
wiki $some_topic
now they don't.
My personal favorite was
man $page
Open about:config and search for keyword.URL - it should be blank. Double-click to edit and enter
Code:
[URL] This will restore the previous Firefox keyword search behavior. No restart necessary.
View 2 Replies
View Related
Apr 15, 2010
I am looking for the quickest way to do multiple searches for different files.Here is the scenario: I want to search for various icons one by one in a script. Preference is for the gnome icon theme.
The echo piped into grep part seems to take a long time. Is there a quicker way of doing this?I do not want to use slocate, sqlite or the like since that will require admin privileges to update the database and/or extra dependencies.
View 5 Replies
View Related
Sep 17, 2010
I know this is a rather odd question, but like in the old days you can get one drive bay desktop cases.
View 4 Replies
View Related
Sep 10, 2010
I deleted the search engines in chromium and made scroogle my default search engine. (im a huge privacy nut) But with this random daily build of chromium, whenever I close it, it deletes scroogle from my default searches.
View 3 Replies
View Related
Aug 20, 2010
The sort utility in Ubuntu 10.04 (Lucid) always sort by case-insensitive, just like if you specify --ignore-case to it. The two sort just give the same result:
[Code]....
But sometimes I want to sort by case-sensitive, so the upper-case letters come first, then lower-case letter.
View 2 Replies
View Related
Dec 14, 2010
i am trying to set up a couple of pages in some special directories URL...but i need it that if they type URL... for them also to go to the site and not to a 404
View 2 Replies
View Related
Sep 19, 2010
As above can I turn Case Sensitivity off for terminal in linux?
View 3 Replies
View Related
Apr 27, 2011
When my internet is slow & i try to open a web page then I get message in my firefox 3.6.3 that 'can't find server at www.website.com'. It isn't that URL is wrong but maybe connection to DNS server is slow or something similiar. I remember that wget tries 20 times by default to get the file (browsing is downloading+ decoding+ displaying).Does any web browser or addon tries repeatedly till it is successful in contacting website server? It can tell me 'trying nth attempt at www.website.com'
View 2 Replies
View Related
Feb 5, 2010
What would be the best way to verify files in a folder are all lower case and if a file is not lower case, output the filename to the screen.
View 11 Replies
View Related
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
Sep 4, 2010
while learning to write bash scripts, i decided to write some script that, given an integer as input, will tell you the square root of that integer (provided the integer in question is a perfect square). i have already done on using primarily if statements and a while loop. i decided that using a case statement would be a lot simpler and i would be able to make the script more functional. here is what i have so far
[Code]....
i have tried all posible combos of using -ge or >= but i get pretty much the same thing.
the idea is, for now, if the input is greater than or equal to 0 that it will echo test. can you do this sort of thing with case statements? or will it only work if i give it specific values like [1-9] (if this is the case then i dont think the case statement will work for what i want to do)
View 4 Replies
View Related
Mar 15, 2010
I am facing problem with the following script. Could you please look into this.echo 'Enter Staging number' case $STGNUM in
1)
for i in {'stg1-greg','stg1-marsha','stg1-peter','stg1-jan','stg2-greg','stg2-marsha','stg2-peter','stg2-jan'};do echo $i; ssh $i sudo -u dev /opt/usr/apps/workflow/stopwf.sh;done;
[code]....
View 2 Replies
View Related
Jun 28, 2010
my ubuntu 8.04 is GNOME based.I am using kpdf 0.5.10 (using kde 3.5.10)
In find dialog box > options
only case sensitive is available to mark/unselect while
find backwards ,
[code]....
View 5 Replies
View Related
Mar 12, 2011
I'm rsync'ing a bunch of files between a Windows and a Linux system. Since not all Windows care about case, some of the files on the Windows system no longer have the same casing as they had on the Linux system. But rsync now treats these files as different and uploads a new copy.
Is it possible to have rsync ignore the case?
View 3 Replies
View Related
Apr 29, 2011
I am not able to figure out how can I do case-insensitive search using the find command.
I tried
find . -name -i pattern
And it does not work.
View 2 Replies
View Related
Jul 9, 2010
Is there any inbuilt functionality in Unix shell script so that i can able to convert lower case string input to an upper case? I dont want to use high level languages like java,python or perl for doing the job.
View 4 Replies
View Related
Feb 15, 2010
What I want to achieve is, if I have following in my file:
x y
X z
I should be able to find the pair, x Y and replace it with x a. So, basically I want to search for case sensitive 'x' but search and replace case insensitive 'y'. How should I do it? Can this be achieved with 'sed' command?
View 8 Replies
View Related
Aug 10, 2009
Is the crontab saved in case of server restarts?
View 2 Replies
View Related