Home » Infrastructure » Unix » cut a variable
cut a variable [message #244119] Mon, 11 June 2007 11:35 Go to next message
Messages: 14
Registered: October 2006
Junior Member
I am passing a variable to a shell script.


I want to cut this variable in a way that i can assign
x=getfile.txt and

How do i do it?
Re: cut a variable [message #244126 is a reply to message #244119] Mon, 11 June 2007 12:06 Go to previous message
Messages: 24963
Registered: January 2009
Location: SoCal
Senior Member
>How do i do it?
$ man basename
Previous Topic: error when executing a shell script(which contains oracle express commands) present on remote server
Next Topic: Renaming Files
Goto Forum:

Current Time: Mon Oct 24 18:58:04 CDT 2016

Total time taken to generate the page: 0.05633 seconds