hi,
I'm trying to create a program that will read a file and then check the file for each letter of the alphabet and then output the letter and the number of times it appears in the file, into a new file... this is what i have so far but it's not working.. if anyone could help that would be nice!... (10 Replies)
Hi,
i have a variable which holds a variety of letters. eg,
var=qwertyuiop
what i want to do is determine wether an inputed letter is already stored inside the variable, so i can say to enter a new one.
i have been playing around using tr and grep but nothing seems to work at all.
... (2 Replies)
Hi, I'm trying to check to see that the arguments given to my script are both numeric and positive integers. I'm using tcsh. I figured out the positive part, but I am having trouble with the arguments being numeric and integers
I have no idea where to get started with the checking them actually... (1 Reply)
Hey guys, i was looking for some examples of how can i check if the use input is just using numerical. i came across an example using tr :
echo "read this"
read this
if ]`" ] ;
then
echo "True - only alpha and numeric"
else
echo "False - there are NON alpha and numeric stuff here!"
fi... (7 Replies)
ok im sorta stuck on this,
The user enters a car model and it has to check it in a text file in the current directory. If the car model is not in the file, user has to enter another model
This is what i have so far
read -p "Enter a car model: " car1
grep -w $car1=$(cat carMakes.txt)... (3 Replies)
In each line of file, I wish to check if word1 is a non-connected subset of any of the other words in the line. If yes, keep only the words that ward1 is a subset of. Else, remove the whole line.
Also, I want to remove the letters that word1 doesn't match with, except for "_+"
Example file:... (2 Replies)
Hello,
I am running Solaris 8. When issuing the command "stty lcase" all text which is output to the terminal are capitalized. Letters that are supposed to be capitals are preceded by a backslash during output. All text which is input is converted to lower case. This is the expected behaviour... (5 Replies)
Any good way to check if code has the required output
# /sbin/sysctl net.ipv4.icmp_echo_ignore_broadcasts
net.ipv4.icmp_echo_ignore_broadcasts = 1
/sbin/sysctl net.ipv4.icmp_echo_ignore_broadcasts | grep "= 1"
net.ipv4.icmp_echo_ignore_broadcasts = 1
What I can think of is above, and it... (16 Replies)
Hi All,
#!/bin/bash
#Just trying to check if letters are in the user input. Any tips?
# I have tried regexp and using 0-9 etc, i cannot get this to work either in just an if statement or while in a loop.
echo "Please pick a number"
read num
if ; then
echo "Please enter a number"... (7 Replies)
Discussion started by: jvezinat
7 Replies
LEARN ABOUT DEBIAN
sciteproj
sciteproj(1) General Commands Manual sciteproj(1)NAME
SciteProj - a Project Manager for the SciTE editor
DESCRIPTION
SciteProj is a Project Manager for the SciTE editor - It is used to group a bunch of files into a project for easy access in SciTE giving
the possibility to group files in folders, and saves the project to disc in XML format. It is based on the program ScitePM by Roy Wood. It
uses the director interface of SciTE to communicate between SciTE and SciteProj.
OPTIONS -s, --scite FILENAME
Sets the filename for the instance of SciTE to open.
-v, --version
Displays the version number of SciteProj
-g, --generate=XML_FILENAME
Generate a sciteproj project file with the name FILENAME from the contents of the current folder. This option will not consider
adding hidden files to the generated project.
-m, --max_depth=MAX_DEPTH
Set maximum depth of folders to read through to MAX_DEPTH when generating project file.
-h, --help
Display a short help
CONFIG FILE
The config file that SciteProj is using is named sciteprojrc, and is loaded from the directory that the glib function g_get_user_config_dir
is returning. Normally this is ($HOME)/.config/ - If this file isn't found, sciteproj searches for the file .sciteproj located in the
users $HOME directory. It is loaded on every program start. There is a menuitem in the program to open the file directly in SciTE for edit-
ing. If there isn't a .sciteproj in the user home when starting SciteProj, one will be created filled with default values. The following
options are supported in the config file:
xpos, ypos, xsize and ysize
Specifies the position and size of the program window on start
give_scite_focus
Specifies wether SciTE shall get focus when opening a file from SciteProj (TRUE or FALSE)
dirty_on_folder_change
Specifies wether SciteProj shall flag your project as dirty when you exapand or collapse a folder (TRUE or FALSE)
allow_duplicates
Specifies wether several files with the same name should be allowed in one project (TRUE or FALSE)
identify_sciteproj_xml
Specifies wether SciteProj shall try to recognize XML files saved by SciteProj (TRUE or FALSE)
search_xpos, search_ypos, search_width, search_height
The position of the search dialog when opened. If any of these values are set to -1, a default will be selected.
search_match_case
Should the search dialog check the Search match case option by default
search_match_whole_words
Should the checkbutton Match whole words be checked in the search dialog by defualt
search_give_scite_focus
Should the SciTE window be focused when double-clicking a search result in the search dialog?
search_file_alert_warning
If the project contains filename that doesn't exist on disk, should SciteProj give a warning during search?
AUTHOR
SciteProj was written by Andreas Ronnquist <gusnan@gusnan.se>.
Version 0.7.05 20 March 2012 sciteproj(1)