Search Results

Search: Posts Made By: nitrobass24
3,381
Posted By elixir_sinari
You could try: $ STRING1='ABC XYZ' $...
You could try:
$ STRING1='ABC XYZ'
$ NEWVAR=STRING1
$ eval 'echo NEWVAR IS ACTUALLY "$'$NEWVAR'"'
NEWVAR IS ACTUALLY ABC XYZ
as a workaround. But, if I were you, I would change my shell to...
3,381
Posted By Don Cragun
Quoting from The New Kornshell Command and...
Quoting from The New Kornshell Command and Programming Language by Bolsky and Korn (copyright 1995):


There is probably a way to get replace the use of name references using eval, but I have...
3,838
Posted By guruprasadpr
Hi Adding a backslash WORDS2=`echo...
Hi
Adding a backslash

WORDS2=`echo $WORDS | sed 's/[!-/:-@[-\`{-~]/ /g'`

Guru.
1,589
Posted By elixir_sinari
Does this work in your ksh? if (( (FTPCOUNT!=0)...
Does this work in your ksh?
if (( (FTPCOUNT!=0) || (RCPCOUNT!=0) ))
If not, try:
if [ $FTPCOUNT -ne 0 -o $RCPCOUNT -ne 0 ]
3,977
Posted By Don Cragun
[/quote]That almost works. You don't need (or...
[/quote]That almost works. You don't need (or want) the asterisk in a call to gsub(). It matches every string of zero or more matches, which in this case effectively adds a space before any of the...
Forum: Red Hat 07-24-2012
7,503
Posted By admin_xor
C-shell has a built-in nohup command. ...
C-shell has a built-in nohup command.


[unixuser@blue ~]$ csh
[unixuser@blue ~]$ nohup
nohup: Can't from terminal.
[unixuser@blue ~]$ which nohup
nohup: shell built-in command.

...
2,281
Posted By alister
You don't need to call pax 70k times, i.e. once...
You don't need to call pax 70k times, i.e. once per file. You invoke pax once and it reads the list of files to copy from stdin. Using your variable names:
pax -rw "$DESTDIR" < "$TEMPFILE"

That...
6,593
Posted By alister
Actually, that will descend into an mvfs...
Actually, that will descend into an mvfs filesystem (for some reason, I thought there was another -prune in the mvfs expression). What you want is something like the following (untested):
find /...
2,132,856
Posted By ssk
sort -u filename > filename.new
sort -u filename > filename.new
Showing results 1 to 9 of 9

 
All times are GMT -4. The time now is 01:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy