05-14-2008
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
why does * highlight everything in it... shouldn't it only highlight capital letters? (0 Replies)
Discussion started by: brentdeback
0 Replies
2. UNIX for Dummies Questions & Answers
Hi - I am trying to ignore the following items from a list.
lp0
lp11
lp12
lp14
The following code works fine, but I was wondering if there was a tidier way to write the lp regular expression?
egrep -v "lp"
Thanks in advance. (3 Replies)
Discussion started by: Krispy
3 Replies
3. Shell Programming and Scripting
hi
i need to wipe out something from giving path i have some thing like that :
pwd | sed 's/.*foo//'
it is working fine when I have path like : /blah/balh1/foo/moo
so it erasing me all that comes before the foo including the foo
but I have problem when I have dir by the name of... (7 Replies)
Discussion started by: umen
7 Replies
4. UNIX for Dummies Questions & Answers
anyone knows what does this regular expression match for?
\(3,\).*\1.*\1 (1 Reply)
Discussion started by: metalwarrior
1 Replies
5. UNIX for Dummies Questions & Answers
Folks;
I have 3 questions & any help with them would be really appreciated:
If i have a list of directories, for example:
/fs/pas/2007/4/6/2634210/admdat/examin
/fs/pas/2007/4/6/2634210/admdat2/stat
/fs/pas/2007/4/6/2634210/admdat3/data
/fs/pas/2007/4/6/2634210/im_2/0b.dcm
Now; my... (6 Replies)
Discussion started by: Katkota
6 Replies
6. Shell Programming and Scripting
Hey all! what matching expression might I use to match all characters included in \W, EXCEPT < and > ?
for example:
@tokens=split(/ ???? /,$string);
I've dubiously tried \W but this clips off the first letter of each "token", for some reason ... (2 Replies)
Discussion started by: applefat
2 Replies
7. UNIX for Dummies Questions & Answers
I like to loop a list of files which named file1, file2, file3, file4, etc
if I like to loop them all over
for f in file1, file2, file3, file4
do
echo "processing" $f
done
how to use a regular expression to loop file$i instead?
Thank you. (4 Replies)
Discussion started by: ksgreen
4 Replies
8. Programming
Hi all,
How am I read a file, find the match regular expression and overwrite to the same files.
open DESTINATION_FILE, "<tmptravl.dat" or die "tmptravl.dat";
open NEW_DESTINATION_FILE, ">new_tmptravl.dat" or die "new_tmptravl.dat";
while (<DESTINATION_FILE>)
{
# print... (1 Reply)
Discussion started by: jessy83
1 Replies
9. UNIX for Dummies Questions & Answers
Hello,
I'm trying to rename a bunch of files that were named incorrectly. I know a little about regular expressions but I'm not very good at them.
Here is the image of the file names:
http://i47.tinypic.com/np2gxi.jpg
I'm trying to change the 20111116 at the beginning to 20101116 for all... (2 Replies)
Discussion started by: nastyn8
2 Replies
10. UNIX for Dummies Questions & Answers
Hi guys,
I need a help with a query. Basically i want to know the difference between (0+01)* and ((0+01)*)* . It seems whatever string can be generated by the first RE can also be generated by second and they should essentially be same. Am i missing something? (1 Reply)
Discussion started by: srkmish
1 Replies
LEARN ABOUT DEBIAN
scolasync
SCOLASYNC(1) scolasync User Manual SCOLASYNC(1)
NAME
scolasync - a file manager dedicated to dealing with a collection of removable media, like music mobile players. It makes easier to copy
files to a set of removable media, and to copy files from them.
SYNOPSIS
scolasync [{-c | --check}]
DESCRIPTION
scolasync allows you to send a series of files towards a set of removable media. Every individual removable storage device is identified,
for example to its owner. Then, later, you can retreive modified files from the same collection of removable media and track the
modifications attributable to each owner.
A possible usage is with students learning a foreign language: they are given homework on their USB sticks, and they bring them back with
modified contents to get scores.
OPTIONS
-c , --check
Enables checkboxes to select a subset of the usb storage media currently plugged to your computer, even if the checkboxes are not
wanted in the preferences of the application.
FILES
${HOME}/.scolasync/db
A database containing the preferences of the application, and the mapping between owners and USB storage media.
/usr/share/scolasync/marques.py
A dictionary of pecularities which come with some brands of USB storage media.
${HOME}/.scolasync/marques.py
This dictionary overrides the settings in the system-wide configuration.
${HOME}/.scolasync/scolasync.log
A log file for the application.
AUTHOR
Georges Khaznadar <georgesk@ofset.org>
Wrote this manpage for the Debian system.
COPYRIGHT
Copyright (C) 2010 Georges Khaznadar
This manual page was written for the Debian system (and may be used by others).
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or (at
your option) any later version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
scolasync 06/23/2012 SCOLASYNC(1)