01-21-2010
No special name for the dollar sign here.
The @ sign, we just call "at".
10 More Discussions You Might Find Interesting
1. What is on Your Mind?
I was kinda bored one day, so I renamed my files in KDE. Here are some examples:
1) I renamed my Hard Drive "Komputer"
2) I renamed my Trashcan to "Krap Bin"
I'm kinda stuck on those two and I would like some suggestions on other file names. Please help a bored luser! ^_^ (1 Reply)
Discussion started by: gnerd
1 Replies
2. UNIX for Dummies Questions & Answers
Ok bit of a noob here.
Need some help with filenames. Cant see what has changed, but heres the info :
Have a directory on webserver - for documents, which is then broken down into year / month.
If you check the dir's on the webserver, or any other Linux box, then the file names are... (9 Replies)
Discussion started by: giantflameeater
9 Replies
3. Shell Programming and Scripting
Say I have a command that looks like this:
host=$(/usr/bin/host xxx.xxx.xxx.xxx)
What is the significance of the $()
I know what happens when I don't include them, and I know what happens when I do, but...
Why doo it woik wit $()
Sorry for the lame question :o (3 Replies)
Discussion started by: [MA]Flying_Meat
3 Replies
4. Shell Programming and Scripting
Sun Solaris Unix Question
Haven't been able to find any solution for this situation. Let's just say the file names listed below exist in a directory. I want the find command to find all files in this directory but at the same time I want to eliminate certain file names or files with certain... (2 Replies)
Discussion started by: 2reperry
2 Replies
5. UNIX for Dummies Questions & Answers
Dear All,
I have a file which I want to get the list of frequency of each word, ignoring list of stop words and now I have problems which punctuations and " 's ".
what I am doing is:
sed 's///g' file01.txt > file01-clear.txt
cat file01-clear.txt | tr "" ""| tr ' ' '\012' |sort |uniq -c... (3 Replies)
Discussion started by: A-V
3 Replies
6. Shell Programming and Scripting
I have a file xxx.txt containing
winter_kool
sugar_"sweet"
Is there anyway i can grep xxx.txt for strings without using punctuations.
for eg:
`grep sugarsweet xxx.txt` should give output :
sugar_"sweet" (2 Replies)
Discussion started by: jack_gb
2 Replies
7. Shell Programming and Scripting
#!/bin/bash
a=(*.pdf)
punct=((~`!@#$%^&*()_-+=|\{};':",./<>?))
for (( i =0; i < ${#a}; i++ ))
do
sed -ri 's/$punct//g' ${a}
done
I cannot use the above code, can you help me in removing all punctuation marks from file name except file extension. The idea is that once all... (9 Replies)
Discussion started by: ambijat
9 Replies
8. Shell Programming and Scripting
Data files coming in different names in a file name called process.txt.
1. shipments_yyyymmdd.gz
2 Order_yyyymmdd.gz
3. Invoice_yyyymmdd.gz
4. globalorder_yyyymmdd.gz
The process needs to discard all the below files and only process two of the 4 file names available
... (1 Reply)
Discussion started by: dsravanam
1 Replies
9. Shell Programming and Scripting
Greetings!
My first PHP question; and, no doubt, a "no-brainer" for the initiated :)
The question centers around the proper syntax for input field labeling. The snippet which puzzles me (and the candidate which I wish to modify) goes like this:<?php _e('Hello World'); ?>:<br />What I'd like... (0 Replies)
Discussion started by: LinQ
0 Replies
10. Shell Programming and Scripting
Hi All,
I would have though this would have been simple, but...
I have text in a variable that I need to insert into a bunch of other files... The text is simple:
... (2 Replies)
Discussion started by: joeg1484
2 Replies
LEARN ABOUT NETBSD
ypmatch
YPMATCH(1) BSD General Commands Manual YPMATCH(1)
NAME
ypmatch -- print the values of one or more keys in a NIS database
SYNOPSIS
ypmatch [-ktz] [-d domainname] key ... mapname
ypmatch -x
DESCRIPTION
ypmatch prints out the values of one or more keys from the NIS database specified by mapname, which may be a map name or a map nickname.
The options are as follows:
-d domainname
Specify a domain other than the default domain.
-k Print the map key followed by a colon, before printing key value. This option is useful with maps in which the values are null or
the key is not part of the value.
-t Inhibit translation of map nicknames to their corresponding map names.
-x Display the map nickname table, found in /var/yp/nicknames. A built-in default translation table is used if /var/yp/nicknames does
not exist (see nicknames(5) for details).
-z Append a NUL character at the end of the key when doing the lookup. This is useful for mail.aliases maps, which include a trailing
NUL in the keys.
SEE ALSO
domainname(1), ypcat(1), ypwhich(1), nicknames(5), nis(8), ypbind(8), yppoll(8), ypset(8)
AUTHORS
Theo De Raadt
Greywolf
BSD
June 20, 2009 BSD