10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Okay so I am having trouble understand what the computer will do with a code like this
if ; then
echo
echo "Found the file"
blah blah blah
for i in `blah blah blah` ; do
... (2 Replies)
Discussion started by: shade917
2 Replies
2. Shell Programming and Scripting
...when the lines use both a colon and commas to separate the parts you want read as information.
The first version of this script used cut and other non-Bash-builtins, frequently, which made it nice and zippy with little more than average processor load in GNOME Terminal but, predictably, slow... (2 Replies)
Discussion started by: SilversleevesX
2 Replies
3. Shell Programming and Scripting
Greetings.
cat $name$telephonenumber >> telephonebook.txtI would like to break cat with the command 'break'. Pretty hard to understand huh? So to clarify it:
echo "If you want to stop adding datas to your telephonebook please type 'break'
if #this part is probably not good
then
echo... (2 Replies)
Discussion started by: buddhist
2 Replies
4. Shell Programming and Scripting
I am wondering how can I take a variable that may have multiple items of data and to use each one indenpendently.
For example lets say that....
data=/lcl/apps/trm, /lcl/apps/wwe, /prd/sse/qwe, /lcl/ppe/eer
Now I would like to be able to process each item found within the data string. As... (5 Replies)
Discussion started by: LRoberts
5 Replies
5. Shell Programming and Scripting
Hi,
i have a file say samp.s which has
123 a b c d
123 e f g h
123 i j k l
123 m n o p
234 a b c d
234 e f g h
234 i j k l
the first 3 characters in each line are considered the key values
i have one more file temp.txt which has
123
234
i want to have a page break in... (5 Replies)
Discussion started by: Sheema
5 Replies
6. Shell Programming and Scripting
I have this script lines
#!/usr/bin/bash
my_path=`dirname $0`
I_table=$1
echo $I_table
in I_table entry going is ccc_con,cc_gui
I want to break content of I_table in S_Table and T_table on basis of comma as separtor (2 Replies)
Discussion started by: scorp_rahul23
2 Replies
7. Shell Programming and Scripting
have a query on this break. I am using a program where I am using a while loop to execute it. It will get into a file take the first file and then ping it and if the ip is reachable then it will mail. Now what happens is that when i ping the ip it does nopt come out of the loop and it says "reply... (11 Replies)
Discussion started by: venkidhadha
11 Replies
8. Solaris
Does anyone know how to send break on a Blade 100?
I'm using a serial cable on my laptop and I can see the system boot up just fine, but I want to send break so i can have it boot from cdrom instead of disk. (3 Replies)
Discussion started by: em23
3 Replies
9. Shell Programming and Scripting
is it possible? because i still need to keep on reading even though i don't want to read that particular line (7 Replies)
Discussion started by: finalight
7 Replies
10. Shell Programming and Scripting
hi All,
Have a doubt in ksh..Am not familiar with arrays but i have tried out a script..
plzzzzz correct me with the script
My i/p File is:
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = TCP)
(Host = 192.168.2.2)
(Port = 1525)
)
)
(CONNECT_DATA = (SID = TESTDB1)
)
)
... (7 Replies)
Discussion started by: aajan
7 Replies
UUID_COMPARE(3) Libuuid API UUID_COMPARE(3)
NAME
uuid_compare - compare whether two UUIDs are the same
SYNOPSIS
#include <uuid.h>
int uuid_compare(uuid_t uu1, uuid_t uu2)
DESCRIPTION
The uuid_compare function compares the two supplied uuid variables uu1 and uu2 to each other.
RETURN VALUE
Returns an integer less than, equal to, or greater than zero if uu1 is found, respectively, to be lexicographically less than, equal, or
greater than uu2.
AUTHOR
Theodore Y. Ts'o
AVAILABILITY
libuuid is part of the util-linux package since version 2.15.1 and is available from https://www.kernel.org/pub/linux/utils/util-linux/.
SEE ALSO
uuid(3), uuid_clear(3), uuid_copy(3), uuid_generate(3), uuid_is_null(3), uuid_parse(3), uuid_unparse(3)
util-linux May 2009 UUID_COMPARE(3)