10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
BASH version: GNU bash, version 3.2.51(1)-release (sparc-sun-solaris2.10)
Copyright (C) 2007 Free Software Foundation, Inc.
OS: Oracle Solaris 10 9/10 s10s_u9wos_14a SPARC
Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
... (4 Replies)
Discussion started by: os2mac
2. Shell Programming and Scripting
I have the below set of lines , i need to duplicate these lines 1000 times, also eevrytime when it is incremented , it should increment the one in Blue color.
130400030000010000200001... (5 Replies)
Discussion started by: santhoshks
3. UNIX for Dummies Questions & Answers
I have a date variable like 2012-12-31 ( YYYY -MM -DD ) in flat file and it has to be incremtented by 1 every time i run the script
Example : i tried the below script after data modifcation but this does not seem to work
expr `20121231 +%Y%m%d` + 1
Note : Mine is not a GNU... (4 Replies)
Discussion started by: akshay01987
4. Shell Programming and Scripting
I am trying to increment my variable names to match a counter that is to be used later on...
Basically, i have a for loop that lists directories (for example TEST_OS DVP_OS PROD_OS ) but this loop is not static, it may contain 3 directory once and the next run 5 directories.
I... (6 Replies)
Discussion started by: Stephan
5. UNIX for Dummies Questions & Answers
want to increment a variable in a for loop like this:
for (( c=$total-1; c>=0; c-- ))
But it gives the error:
No such file or directory
How can i do this only incrementing the c variable?
Thanks (8 Replies)
Discussion started by: limadario
6. Shell Programming and Scripting
I'm currently trying to write a ksh or csh script that would change the name of a file found in directories and attach to the name an incrementing three digit number.
I know how to write a script that will go:
000, 001, 002, 003, etc
The twist is I need more increments then allowed by a 3... (11 Replies)
Discussion started by: Rust
7. Shell Programming and Scripting
echo "Enter Starting id:"
echo "Enter Closing id:"
echo "INSERT INTO TABLE( FIELD1, FIELD2, FIELD3, FIELD4,
... (7 Replies)
Discussion started by: ultimatix
8. Post Here to Contact Site Administrators and Moderators
Hi Admin, i just noticed that when I do postings, the number does not increment. eg :
Post A -Total Posts 312
Post B - Total Posts 312
Post C - Total Posts 313
Post D - Total Posts 313
Why is this so? Can you kindly check this out? Thank you. (5 Replies)
Discussion started by: incredible
9. Shell Programming and Scripting
First: me == noob. Whats a good resource for shell script info cause I'm having trouble finding good info.
I'm writing a shell script to automate the setup of a flash 'page flip'.
My current code is below.
the page flip takes an xml file of format
<pages... (1 Reply)
Discussion started by: secoif
10. Shell Programming and Scripting
LIST="a b c d e"
for word in $LIST
would give me
With the first iteration of the for loop, I get "a" as the result.
Is it possible that I get both "a" and "b" in only the first iteration.
In the next iteration I get "c" and "d" and so on.... (2 Replies)
Discussion started by: run_time_error