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: 26748
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 26 02:39:32 CDT 2020