Sponsored Content
Full Discussion: string operation
Top Forums Shell Programming and Scripting string operation Post 302097401 by mels on Friday 24th of November 2006 05:26:26 AM
Old 11-24-2006
Its shell and not c or other programming language.
If a shell is running a function in an other shell, everything defiend in the last shell is not available in the first shell.

Mels
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

string operation

i am new user of unix.i have a question.My script is- export STR_ALFA=`head -2 "${FILE_PATH}"|tail -1|cut -d"," -f1` "${TEST_HOME}"/function/chk_alfa.ksh STR_ALFA now i want to check STR_ALFA: 1)whether is alphabetic 2)whether is numeric 3)whether is alphanumeric... (1 Reply)
Discussion started by: arghya_owen
1 Replies

2. Shell Programming and Scripting

string operation

i am new user of unix.i have a question.My script is- export STR_ALFA=`head -2 "${FILE_PATH}"|tail -1|cut -d"," -f1` "${TEST_HOME}"/function/chk_alfa.ksh STR_ALFA now i want to check STR_ALFA: 1)whether is alphabetic 2)whether is numeric 3)whether is alphanumeric... (1 Reply)
Discussion started by: arghya_owen
1 Replies

3. UNIX for Dummies Questions & Answers

string operation

I am trying to ask for full name in a script, Then echo back to the user with the surname only, omitting the first name. Thanks (2 Replies)
Discussion started by: orjnet
2 Replies

4. Shell Programming and Scripting

Help - Search for string, then do string operation on line

Hi, I wish to find all lines that contain a specific search word, and then do few string operations on that line. The idea is to "fix" the file which has been moved from windows to unix. Using unix - Sun Solaris Test input ("t2.sas") statement1 statement2 libname yahoo ... (6 Replies)
Discussion started by: deepaksinbox
6 Replies

5. Shell Programming and Scripting

String Operation

/home8/mc09ats/UnixCw/file4 this is the path...i have 2 variables filename and filepath...i want filename=file4 filepath=/home8/mc09ats/UnixCw i.e. i think i have to find last occurence of "/" in string and the string after "/" want to take in some variable and string before last "/"... (4 Replies)
Discussion started by: AbhijitIT
4 Replies

6. Shell Programming and Scripting

sed OR-Operation

Hello, I'm trying to get the configuration-IP-Addresses from Cisco-configurations on the Routers they are defined as a Loopback0-interface like this: interface Loopback0 ip address 172.23.19.249 255.255.255.255 On the Switches they are defined as a VLAN 80 interface like this ... (4 Replies)
Discussion started by: Sally[-_-]
4 Replies

7. Shell Programming and Scripting

Column operation : cosne and sine operation

I have a txt file with several columns and i want to peform an operation on two columns and output it to a new txt file . file.txt 900.00000 1 1 1 500.00000 500.00000 100000.000 4 4 1.45257346E-07 899.10834 ... (4 Replies)
Discussion started by: shashi792
4 Replies

8. Shell Programming and Scripting

Complex string operation (awk, sed, other?)

I have a file that contains RewriteRules for 200 countries (2 examples for 1 country below): RewriteRule ^/at(/|/index.html|)$ http://%{HTTP_HOST}/locate/index.html?locale=de_AT #& RewriteRule ^/at_english(/|/index.html|)$ http://%{HTTP_HOST}/locate/index.html?locale=en_AT I have... (5 Replies)
Discussion started by: usshadowop
5 Replies

9. Shell Programming and Scripting

String operation in csh shell

Hi, to everybody i have a string which Looks like this FT47;3;1;1;;;1;09.02.2017 21:21:19;2;2 and i would like to change to value on one Position only e.g. the values on Position 6 should change to 1 nevertheyless which values was there before AIX 4.3.2.0 and csh i try... (10 Replies)
Discussion started by: Nadielosabra
10 Replies

10. Shell Programming and Scripting

String operation in csh AIX 4.3.2.0

Hi to everybody i stuck on a simple thing i had a string and i want cut it , i try already few thing with the cut command but does not the way it should. The script is in csh and running on AIX 4.3.2.0 here are few samples how the string can look like FT71;1;1;1;;;1;31.01.2017... (9 Replies)
Discussion started by: Nadielosabra
9 Replies
JACK.PLUMBING(1)														  JACK.PLUMBING(1)

NAME
jack.plumbing - JACK Plumbing Daemon SYNOPSIS
jack.plumbing [options] [rule-files] OPTIONS
-d : Do not operate as a daemon. -o : Do not load ordinary rule files. -q : Quiet operation. -u : Set the time, in micro-seconds, that must elapse after a connection notification to indicate the end of a notification set (default=30000). This is an optimization switch. DESCRIPTION
jack.plumbing maintains a set of port connection rules and manages these as clients register ports with JACK. Port names are implicitly bounded regular expressions and support sub-expression patterns. There are four rules: connect, disconnect, also-connect and connect-exclusive. (connect "SuperCollider:out_(.*)" "system:playback_1") This connect rule ensures that whenever scsynth(1) is running any output ports it registers are connected to appropriate ALSA playback ports. The connect rule only makes a connection if none already exist. (also-connect "system:playback_1" "jack.udp-[0-9]*:in_1") This also-connect rule ensures that when jack.udp(1) is running in send mode all signals that are ordinarily sent to the local audio interface will also be sent to the network destination. The also-connect aliasing applies to both the left and right hand side of connect rules. (connect-exclusive "SuperCollider:out_(.*)" "ardour:sc3_in_1/in 1") This connect-exclusive rule ensures that if SuperCollider and an ardour(1) session with appropriate tracks are both running that SuperCollider gets connected to ardour and disconnected from everything else. This type of connection daemon has the following advantages over both environment variables and command line arguments: o it does not require any client connection support or logic at all o it provides a uniform user interface to all clients o it has a somewhat declarative style This type of daemon is very lightweight and non-intrusive: it requires no arguments, it runs from an unprivileged thread, if the rule set is empty it is a no-op, it does not write any files, it does not require any modification to clients or to how clients are started. When a set of port registrations is made it checks the modification time of the rule set files, /etc/jack.plumbing and ~/.jack.plumbing, and any files specified by the user, rereads the rule set if it has been updated, then makes the JACK graph obey the rules. Any lines beginning with a semi-colon are ignored. The rule set is sorted, disconnect rules are applied first, then connect rules, then connect-exclusive rules. FILES
o /etc/jack.plumbing o ~/.jack.plumbing AUTHOR
Written by Rohan Drape http://slavepianos.org/rd/ SEE ALSO
jackd(1) AUTHOR
Rohan Drape <rd@slavepianos.org> Author. 01/10/2012 JACK.PLUMBING(1)
All times are GMT -4. The time now is 07:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy